Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3639 closed defect (bug) (fixed)

Delete and Mark as Spam broken on admin post comment page

Reported by: matt's profile matt Owned by:
Milestone: 2.1.2 Priority: low
Severity: normal Version: 2.1
Component: Administration Keywords: has-patch needs-testing
Focuses: Cc:

Description

To recreate:

  • Go to manage
  • Click on the comments number for a specific post to go to that post's admin comments page
  • Click on delete or mark as spam, the page reloads

Expect: AJAXy non-reload action. (Which works for approve/unapprove on the same page.)

Attachments (1)

delete_spam_comments_ajax.diff (3.7 KB) - added by markjaquith 18 years ago.
Patch for trunk and /branches/2.1/

Download all attachments as: .zip

Change History (6)

@markjaquith
18 years ago

Patch for trunk and /branches/2.1/

#1 @markjaquith
18 years ago

  • Keywords has-patch needs-testing added

About the patch:

I just copy-pasted the similar block of code from edit-comments.php and it seems to work just fine now.

We could even functionize that baby to cut down on the redundancy.

#2 @Nazgul
18 years ago

  • Milestone changed from 2.1.1 to 2.1.2

#3 @ryan
18 years ago

Fine by me functionalized or not. Commit away Mark.

#4 @markjaquith
18 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [4935]) Fix AJAX delete/spam on individual post comments view. fixes #3639

#5 @markjaquith
18 years ago

(In [4936]) Fix AJAX delete/spam on individual post comments view. fixes #3639

Note: See TracTickets for help on using tickets.