Changeset 35951
- Timestamp:
- 12/15/2015 09:34:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/locale.php
r35884 r35951 192 192 if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) { 193 193 // Replace space with a non-breaking space to avoid wrapping. 194 $non_breaking_space = html_entity_decode( ' ', ENT_QUOTES, get_option( 'blog_charset' ) ); 195 $thousands_sep = str_replace( ' ', $non_breaking_space, $thousands_sep ); 194 $thousands_sep = str_replace( ' ', ' ', $thousands_sep ); 196 195 } else { 197 196 // PHP < 5.4.0 does not support multiple bytes in thousands separator.
Note: See TracChangeset
for help on using the changeset viewer.