Excplitcly globalized call to $wp later in wp-settings.php

Props xknown, fixes #26867.

Built from https://develop.svn.wordpress.org/trunk@26997


git-svn-id: http://core.svn.wordpress.org/trunk@26874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Nikolay Bachiyski 2014-01-22 14:48:11 +00:00
parent 80af25060b
commit 74ace0517c
1 changed files with 1 additions and 1 deletions

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.