[wp-trac] [WordPress Trac] #17299: number_format_i18n improper calls

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 4 00:27:33 UTC 2011


#17299: number_format_i18n improper calls
--------------------------+------------------------------
 Reporter:  mhitza        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  trivial       |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 If it's called with a string somewhere, perhaps it should be fixed there.

 However I don't get warnings on PHP 5.2.14 with WP_DEBUG on, even if I
 pass a string directly: `echo number_format_i18n('18');` or even `echo
 number_format_i18n('test');`

 Since I've already created the patch while testing, I'll leave it here
 just in case.

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


More information about the wp-trac mailing list