Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 9 years ago

#5315 closed defect (bug) (fixed)

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

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

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

Download all attachments as: .zip

Change History (3)

#1 @ryan
19 years ago

  • Resolution → fixed
  • Status new → 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.


9 years ago

Note: See TracTickets for help on using tickets.