mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Multisite: Remove references to $wpdb->siteid and use get_current_network_id() instead.
Props sathyapulse, spacedmonkey. Fixes #41507. git-svn-id: https://develop.svn.wordpress.org/trunk@41242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -223,7 +223,7 @@ function wp_load_core_site_options( $network_id = null ) {
|
||||
return;
|
||||
|
||||
if ( empty($network_id) )
|
||||
$network_id = $wpdb->siteid;
|
||||
$network_id = get_current_network_id();
|
||||
|
||||
$core_options = array('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'can_compress_scripts', 'global_terms_enabled', 'ms_files_rewriting' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user