[wp-trac] [WordPress Trac] #19905: Filtering the edit-comments.php screen results in incorrect Pending count
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 7 05:39:25 UTC 2012
#19905: Filtering the edit-comments.php screen results in incorrect Pending count
--------------------------+------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by ericlewis):
To deal with the issue, my patch moves the .each() out of the
updatePending function, and now requires a 'span.pending-count' element as
a parameter. This way, for each pending-count the new pending count can be
calculated independently, and then updated only for that element.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19905#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list