Make WordPress Core

Opened 20 years ago

Closed 19 years ago

#4245 closed defect (bug) (fixed)

Moderating comments via AJAX doesn't update visible count

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

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 19 years ago.

Download all attachments as: .zip

Change History (8)

#1 @foolswisdom
19 years ago

  • Milestone 2.3 → 2.4 (next)

#2 @markjaquith
19 years ago

  • Summary Moderating comments doesn't update count → Moderating comments via AJAX doesn't update visible count

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

#3 @spencerp
19 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
19 years ago

  • Priority low → high
  • Severity minor → major
  • Type enhancement → 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
19 years ago

  • Severity major → normal

#6 @mdawaffe
19 years ago

  • Keywords has-patch commit added
  • Status new → assigned

4245.diff

#7 @ryan
19 years ago

  • Resolution → fixed
  • Status assigned → closed

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

Note: See TracTickets for help on using tickets.