Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6090 closed defect (bug) (fixed)

Comment bubble in post row increments/decrements incorrectly

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

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

Download all attachments as: .zip

Change History (2)

@mdawaffe
17 years ago

#1 @ryan
17 years ago

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

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

Note: See TracTickets for help on using tickets.