[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 02:39:29 UTC 2011


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

 * keywords:  has-patch commit => has-patch


Comment:

 The URL should also be escaped.

 Regardless, patch leaves an issue, due to the nature of comments_number().
 If comments > 1, then comments_number() will do an str_replace() on the %.
 This borks the URL.

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


More information about the wp-trac mailing list