mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Ensure we have MS global tables defined during network install. See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,6 +16,10 @@ require_once( './admin.php' );
|
||||
if ( ! is_super_admin() )
|
||||
wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) );
|
||||
|
||||
// We need to create references to ms global tables to enable Network.
|
||||
foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table )
|
||||
$wpdb->$table = $prefixed_table;
|
||||
|
||||
$title = __( 'Network Settings' );
|
||||
$parent_file = 'tools.php';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user