Explicitly globalize wp_locale for the UT framework. props scribu, fixes #17749.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
48d20c1839
commit
39d6c8e659
|
@ -275,7 +275,7 @@ require( ABSPATH . WPINC . '/locale.php' );
|
||||||
* @global object $wp_locale
|
* @global object $wp_locale
|
||||||
* @since 2.1.0
|
* @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.
|
// Load the functions for the active theme, for both parent and child theme if applicable.
|
||||||
if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) {
|
if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) {
|
||||||
|
|
Loading…
Reference in New Issue