WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#4245 closed defect (bug) (fixed)

Moderating comments via AJAX doesn't update visible count

Reported by: matt Owned by: mdawaffe
Milestone: 2.5 Priority: high
Severity: normal Version: 2.2
Component: Administration Keywords: ajax comments has-patch commit
Focuses: Cc:

Description

Steps to recreate:

  1. Go to Manage.
  2. Click on the # comments link in the posts table.
  3. Use the slick AJAX stuff under a comment to approve/unapprove stuff.

There is a single-item table above the comments that also shows the # of approved comments again. This should update when you change the status of a comment, much like it does on the edit-comments.php page.

Attachments (1)

4245.diff (1.5 KB) - added by mdawaffe 9 years ago.

Download all attachments as: .zip

Change History (8)

#1 @foolswisdom
9 years ago

  • Milestone changed from 2.3 to 2.4 (next)

#2 @markjaquith
9 years ago

  • Summary changed from Moderating comments doesn't update count to Moderating comments via AJAX doesn't update visible count

Updating the title, as it sounded more severe than it is.

#3 @spencerp
9 years ago

"There is a single-item table above the comments that also shows the # of approved comments again."

I just tried doing this, I "Unapproved" my own comment once, and it's showing it's being moderated for approval. However! I do NOT see this "single-item table above the comments" thing. Also, the #3 comment count didn't change to #2 in the comment count for the post comment count section thing either... Or is THAT what you were originally talking about?

#4 @westi
9 years ago

  • Priority changed from low to high
  • Severity changed from minor to major
  • Type changed from enhancement to defect

This works for me on the main Comments Tab but not on the Awaiting Moderation tab.

On the Comments Tab it is a big slow to update but does work.

#5 @lloydbudd
9 years ago

  • Severity changed from major to normal

@mdawaffe
9 years ago

#6 @mdawaffe
9 years ago

  • Keywords has-patch commit added
  • Status changed from new to assigned

4245.diff

#7 @ryan
9 years ago

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

(In [7075]) Fix AJAX comment moderation on edit post view. Props mdawaffe. fixes #4245

Note: See TracTickets for help on using tickets.