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
This commit is contained in:
Nikolay Bachiyski 2014-01-22 14:47:58 +00:00
parent 5eba2a13d8
commit 46bdc2c312

View File

@ -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.