[wp-trac] [WordPress Trac] #6090: Comment bubble in post row increments/decrements incorrectly

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 4 08:11:02 GMT 2008


#6090: Comment bubble in post row increments/decrements incorrectly
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.5      
Component:  Administration  |     Version:  2.5      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6090>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list