diff --git a/wp-includes/locale.php b/wp-includes/locale.php index 54a3c93891..622619551b 100644 --- a/wp-includes/locale.php +++ b/wp-includes/locale.php @@ -191,8 +191,7 @@ class WP_Locale { if ( version_compare( PHP_VERSION, '5.4', '>=' ) ) { // Replace space with a non-breaking space to avoid wrapping. - $non_breaking_space = html_entity_decode( ' ', ENT_QUOTES, get_option( 'blog_charset' ) ); - $thousands_sep = str_replace( ' ', $non_breaking_space, $thousands_sep ); + $thousands_sep = str_replace( ' ', ' ', $thousands_sep ); } else { // PHP < 5.4.0 does not support multiple bytes in thousands separator. $thousands_sep = str_replace( array( ' ', ' ' ), ' ', $thousands_sep ); diff --git a/wp-includes/version.php b/wp-includes/version.php index e5fc78ada6..c2764150b3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35950'; +$wp_version = '4.5-alpha-35951'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.