Ticket #2807 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

can't delete comments

Reported by: tenpura Assigned to: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0.3
Severity: normal Keywords: bg has-patch comments
Cc:

Description

Comments can't be deleted from Manage > Comments > Delete Comment link.

Attachments

2807.diff (1.4 kB) - added by tenpura on 06/09/06 09:30:58.
patch for /branches/2.0/
2807_trunk.diff (3.5 kB) - added by tenpura on 06/15/06 21:52:26.
patch for /trunk/

Change History

06/09/06 09:30:58 changed by tenpura

  • attachment 2807.diff added.

patch for /branches/2.0/

06/09/06 09:35:00 changed by tenpura

  • keywords set to bg|has-patch.

06/15/06 21:52:26 changed by tenpura

  • attachment 2807_trunk.diff added.

patch for /trunk/

06/15/06 21:54:26 changed by tenpura

  • milestone changed from 2.0.4 to 2.1.

2807_trunk.diff

I replaced some $post->ID with $comment->comment_post_ID. I also deleted an unnecessary \.

06/17/06 18:36:51 changed by tenpura

  • version changed from 2.0.2 to 2.0.3.
  • milestone changed from 2.1 to 2.0.4.

Milestone: 2.0.4 and 2.1

06/28/06 03:23:51 changed by spencerp

After uploading the "latest" files from the branch/2.0 for 2.0.4-alpha, on my main blog, it seems to be working just fine for me. I had tried deleting a comment via Manage => Comments => Delete, and it deletes it, and I have also clicked on the Edit Comment button and deleted it that way as well. Seems go to go in my book. :)

06/29/06 08:35:02 changed by tenpura

Please try again with JavaScript off, spencerp.
In addition, this Ajax thing seems incompatible with Opera.

06/29/06 16:06:57 changed by spencerp

Oh, ok..I have now tried it with the javascript off, and it will delete it while "Editing" the comment, but when doing it this route: Manage => Comments => Delete ,it will show a message: "Oops, no post with this ID. Go back!"

I see what you're talking about tenpura. =) Hmm, let me see once..

07/01/06 01:30:51 changed by JeremyVisser

  • keywords changed from bg|has-patch to bg has-patch comments.

Confirmed - this patch fixes the problem for me. Tested on latest WP trunk (rev. 3943).

07/01/06 02:03:22 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [3944]) Delete comment fix from tenpura. fixes #2807

07/01/06 02:05:36 changed by ryan

(In [3945]) Delete comment fix from tenpura. fixes #2807

11/30/06 19:41:50 changed by

  • milestone deleted.

Milestone 2.0.4 deleted