Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#6090 closed defect (bug) (fixed)

Comment bubble in post row increments/decrements incorrectly

Reported by: mdawaffe Owned by:
Priority: normal Milestone: 2.5
Component: Administration Version: 2.5
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

When approving/deleting/spamming comments from wp-admin/edit.php?p=15&c=1 (get to this page by clicking a post's comment bubble on Manage -> Posts), the number in the comment bubble and the number in its title attribute can be incorrect.

There are three numbers on the page that need to be dealt with.

  1. In the main menu, the bubble by the "Comments" tab is the total number of comments awaiting moderation (i.e. the number of unapproved comments).
  2. The bubble in the post's table row is the number of approved comments for that post.
  3. The title attribute (the :hover tooltip) is the number of comments awaiting moderation for that post.

The attached keeps all three numbers in sync with reality.

Attachments (1)

6090.diff​ (3.2 KB ) - added by mdawaffe 19 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
19 years ago

  • Resolution → fixed
  • Status new → closed

(In [7153]) Comment bubble count fixes from mdawaffe. fixes #6090

Note: See TracTickets for help on using tickets.