Bootstrap: load option.php
in wp-settings.php
, not in functions.php
.
See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38386 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9df1424d88
commit
3586ac294f
@ -5,8 +5,6 @@
|
|||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require( ABSPATH . WPINC . '/option.php' );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Convert given date string into a different format.
|
* Convert given date string into a different format.
|
||||||
*
|
*
|
||||||
|
@ -91,6 +91,7 @@ wp_set_lang_dir();
|
|||||||
|
|
||||||
// Load early WordPress files.
|
// Load early WordPress files.
|
||||||
require( ABSPATH . WPINC . '/compat.php' );
|
require( ABSPATH . WPINC . '/compat.php' );
|
||||||
|
require( ABSPATH . WPINC . '/option.php' );
|
||||||
require( ABSPATH . WPINC . '/functions.php' );
|
require( ABSPATH . WPINC . '/functions.php' );
|
||||||
require( ABSPATH . WPINC . '/class-wp-matchesmapregex.php' );
|
require( ABSPATH . WPINC . '/class-wp-matchesmapregex.php' );
|
||||||
require( ABSPATH . WPINC . '/class-wp.php' );
|
require( ABSPATH . WPINC . '/class-wp.php' );
|
||||||
|
Loading…
Reference in New Issue
Block a user