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

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 24 09:08:29 UTC 2011


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

Comment (by westi):

 Replying to [comment:5 SergeyBiryukov]:
 > Replying to [comment:4 westi]:
 > > We should fix where this is called.
 >
 > I don't see any warnings in core about this (checked on PHP 5.2.14 and
 5.3.3). I've briefly reviewed all calls to `number_format_i18n()`, and
 didn't find anything strange. I guess the purpose of this change is to
 avoid the warning if a wrong parameter is passed by a plugin or a theme.

 I don't think we should "hide" warning generated by plugin/theme bugs.

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


More information about the wp-trac mailing list