mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
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:
parent
80af25060b
commit
74ace0517c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user