[wp-trac] [WordPress Trac] #5315: Awaiting Moderation (#): # is not always updated correctly in JS

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 4 01:27:57 GMT 2007


#5315: Awaiting Moderation (#): # is not always updated correctly in JS
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |       Owner:  anonymous
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  2.4      
Component:  General   |     Version:  2.3.1    
 Severity:  normal    |    Keywords:           
----------------------+-----------------------------------------------------
 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.

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


More information about the wp-trac mailing list