WordPress.org

Make WordPress Core

Changeset 12757 for trunk


Ignore:
Timestamp:
01/19/2010 12:18:52 AM (8 years ago)
Author:
wpmuguru
Message:

options network page, db variable change, See #11644

Location:
trunk
Files:
1 added
2 edited

Legend:

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

    r12753 r12757  
    159159    if ( is_super_admin() )
    160160        $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
     161    if ( !is_multisite() && is_super_admin() ) {
     162        $submenu['options-general.php'][50] = array(__('Network'), 'manage_options', 'options-network.php');
     163    }
    161164
    162165$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
  • trunk/wp-includes/wp-db.php

    r12753 r12757  
    492492        if ( $blog_id ) {
    493493                        if( defined('MULTISITE') && ( $blog_id == 0 || $blog_id == 1) ) {
    494                     return $this->prefix;
     494                    return $this->base_prefix;
    495495                        } else {
    496496                    return $this->base_prefix . $blog_id . '_';
Note: See TracChangeset for help on using the changeset viewer.