mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
fix multisite object cache warnings, $table_prefix assignment, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -17,7 +17,7 @@ if( defined( 'SUNRISE' ) )
|
||||
$wpdb->blogid = $current_blog->blog_id;
|
||||
$wpdb->siteid = $current_blog->site_id;
|
||||
$wpdb->set_prefix($table_prefix); // set up blog tables
|
||||
$table_prefix = $table_prefix . $blog_id . '_';
|
||||
$table_prefix = $wpdb->get_blog_prefix();
|
||||
|
||||
// Fix empty PHP_SELF
|
||||
$PHP_SELF = $_SERVER['PHP_SELF'];
|
||||
|
||||
Reference in New Issue
Block a user