WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/23/2010 07:58:53 PM (11 years ago)
Author:
nacin
Message:

Ensure we have MS global tables defined during network install. See #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network.php

    r13025 r13337  
    1616if ( ! is_super_admin() )
    1717    wp_die( __( 'You do not have sufficient permissions to manage options for this blog.' ) );
     18
     19// We need to create references to ms global tables to enable Network.
     20foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table )
     21    $wpdb->$table = $prefixed_table;
    1822
    1923$title = __( 'Network Settings' );
Note: See TracChangeset for help on using the changeset viewer.