[wp-trac] [WordPress Trac] #16611: Too few arguments to sprintf in WP_List_Table::comments_bubble()

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 22 04:24:23 UTC 2011


#16611: Too few arguments to sprintf in WP_List_Table::comments_bubble()
------------------------------+---------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  closed
 Priority:  high              |   Milestone:  3.1
Component:  General           |     Version:  3.1
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

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


Comment:

 (In [17475]) Use get_comments_number() in comments_bubble() method.
 Removes chance of sprintf arguments error due to percent encoding in URLs
 and kills unnecessary translations. Escape translations into attributes.
 esc_url on admin_url. fixes #16611 for trunk.

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


More information about the wp-trac mailing list