[wp-trac] [WordPress Trac] #41505: Pass $decimals argument to number_format_i18n filter

WordPress Trac noreply at wordpress.org
Tue Aug 1 14:38:51 UTC 2017


#41505: Pass $decimals argument to number_format_i18n filter
-------------------------+--------------------------
 Reporter:  alpipego     |       Owner:  johnbillion
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.9
Component:  Formatting   |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------

Comment (by johnbillion):

 @alpipego Thanks for the patch. I added the raw `$number` parameter too,
 as the formatted number on its own isn't very useful if you're re-
 formatting the number.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41505#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list