From 46bdc2c3123edf640f7fa8cd5a061aa35efcf954 Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Wed, 22 Jan 2014 14:47:58 +0000 Subject: [PATCH] Excplitcly globalized call to $wp later in wp-settings.php Props xknown, fixes #26867. git-svn-id: https://develop.svn.wordpress.org/trunk@26997 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-settings.php b/src/wp-settings.php index 7898fb59b9..236615bf05 100644 --- a/src/wp-settings.php +++ b/src/wp-settings.php @@ -331,7 +331,7 @@ if ( ! defined( 'WP_INSTALLING' ) || 'wp-activate.php' === $pagenow ) { do_action( 'after_setup_theme' ); // Set up current user. -$wp->init(); +$GLOBALS['wp']->init(); /** * Fires after WordPress has finished loading but before any headers are sent.