[wp-trac] [WordPress Trac] #10373: Proper number formatting related to i18n

WordPress Trac noreply at wordpress.org
Sat Dec 12 02:05:40 UTC 2015


#10373: Proper number formatting related to i18n
---------------------------------+-----------------------------
 Reporter:  honza.skypala        |       Owner:  SergeyBiryukov
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  4.5
Component:  I18N                 |     Version:  2.8.1
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 4.5-early  |     Focuses:
---------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35884"]:
 {{{
 #!CommitTicketReference repository="" revision="35884"
 I18N: In `WP_Locale::init()`, replace space as a thousands separator with
 a non-breaking space.

 * If PHP version is 5.4.0 or greater, a regular space as a thousands
 separator is replaced with a non-breaking space, decoded using the
 `blog_charset` option.
 * If PHP version is 5.2.x or 5.3.x, ` ` or ` ` as a thousands
 separator is replaced with a regular space, as multiple bytes are not
 supported there.

 Fixes #10373.
 }}}

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


More information about the wp-trac mailing list