Explicitly globalize wp_locale for the UT framework. props scribu, fixes #17749.

git-svn-id: https://develop.svn.wordpress.org/trunk@18756 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2011-09-22 22:49:30 +00:00
parent 60c59fb4a7
commit 4d3f98e8bd
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ require( ABSPATH . WPINC . '/locale.php' );
* @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 ) {