mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
options network page, db variable change, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -491,7 +491,7 @@ class wpdb {
|
||||
function get_blog_prefix( $blog_id = '' ) {
|
||||
if ( $blog_id ) {
|
||||
if( defined('MULTISITE') && ( $blog_id == 0 || $blog_id == 1) ) {
|
||||
return $this->prefix;
|
||||
return $this->base_prefix;
|
||||
} else {
|
||||
return $this->base_prefix . $blog_id . '_';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user