mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Move blogs table related functions to blogs.php. Include it before ms-settings.php so that caching API can be used instead of direct queries. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13125 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -74,8 +74,10 @@ wp_set_wpdb_vars();
|
||||
wp_start_object_cache();
|
||||
|
||||
// Initialize multisite if enabled.
|
||||
if ( is_multisite() )
|
||||
if ( is_multisite() ) {
|
||||
require( ABSPATH . WPINC . '/blogs.php' );
|
||||
require( ABSPATH . WPINC . '/ms-settings.php' );
|
||||
}
|
||||
|
||||
// Load early WordPress files.
|
||||
require( ABSPATH . WPINC . '/plugin.php' );
|
||||
|
||||
Reference in New Issue
Block a user