mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Resurrect the switched global. Some are still using it. see #21459
git-svn-id: https://develop.svn.wordpress.org/trunk@21581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -127,7 +127,7 @@ $wpdb->set_prefix( $table_prefix, false ); // $table_prefix can be set in sunris
|
||||
$wpdb->set_blog_id( $current_blog->blog_id, $current_blog->site_id );
|
||||
$table_prefix = $wpdb->get_blog_prefix();
|
||||
$_wp_switched_stack = array();
|
||||
$_wp_switched = false;
|
||||
$switched = false;
|
||||
|
||||
// need to init cache again after blog_id is set
|
||||
wp_start_object_cache();
|
||||
|
||||
Reference in New Issue
Block a user