Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 7 years ago

#5315 closed defect (bug) (fixed)

Awaiting Moderation (#): # is not always updated correctly in JS

Reported by: mdawaffe's profile mdawaffe Owned by:
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.3.1
Component: General Keywords:
Focuses: Cc:

Description

The number in the Comments -> Awaiting Moderation subtab gets updated via JS when comments are approved, unapproved or deleted.

There are a couple of bugs, though.

When the number is updated to 0, it is removed rather than set to "0" (a jQuery oddity).

When a comment is deleted from the Comments -> Amaiting Moderation tab (rather than from the Comments -> Comments tab), the number is not changed.

Attached fixes both.

Attachments (1)

5315.diff (1.8 KB) - added by mdawaffe 17 years ago.

Download all attachments as: .zip

Change History (3)

@mdawaffe
17 years ago

#1 @ryan
17 years ago

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

(In [6312]) Update awaiting moderation count when comments are moderated through AJAX. Props mdawaffe. fixes #5315

This ticket was mentioned in Slack in #core-editor by notnownikki. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.