Skip to content
Commit d167aa6a authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

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.
Built from https://develop.svn.wordpress.org/trunk@35884


git-svn-id: https://core.svn.wordpress.org/trunk@35848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 345f3a31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment