Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Explicitly globalize wp_locale for the UT framework. props scribu, fi…

…xes #17749.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 39d6c8e659886f64b455699efcf6333c049e03e0 1 parent 48d20c1
nacin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wp-settings.php
View
2  wp-settings.php
@@ -275,7 +275,7 @@
* @global object $wp_locale
* @since 2.1.0
*/
-$wp_locale = new WP_Locale();
+$GLOBALS['wp_locale'] = new WP_Locale();
// Load the functions for the active theme, for both parent and child theme if applicable.
if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) {
Please sign in to comment.
Something went wrong with that request. Please try again.