[wp-trac] [WordPress Trac] #25568: Sprintf replacement specifiers for strings are used instead of integers

WordPress Trac noreply at wordpress.org
Fri Oct 11 16:57:35 UTC 2013


#25568: Sprintf replacement specifiers for strings are used instead of integers
--------------------------+----------------------
 Reporter:  Nao           |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |
--------------------------+----------------------

Comment (by johnbillion):

 For a bit more context, the numbers passed into these strings are first
 passed through `number_format_i18n()`
 [https://github.com/WordPress/WordPress/blob/fd57b239d281ad5f4e6c55da862d691c15eae38d
 /wp-admin/edit.php#L281-L284 see here], at which point they are localised
 and may not be integer-like.

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


More information about the wp-trac mailing list