[wp-trac] [WordPress Trac] #19905: Filtering the edit-comments.php screen results in incorrect Pending count

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 9 23:29:26 UTC 2012


#19905: Filtering the edit-comments.php screen results in incorrect Pending count
--------------------------+---------------------
 Reporter:  nacin         |       Owner:  duck_
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.4
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by duck_):

 * owner:   => duck_
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [19895]:
 {{{
 #!CommitTicketReference repository="" revision="19895"
 Fix incorrect pending comment count updates for filtered views. Fixes
 #19905.

 Pass the difference (i.e. 1 or -1) to updatePending() so that the current
 pending count is changed for each element independently. Also move several
 functions back out of the global scope, see r17832 for their introduction.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19905#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list