Make WordPress Core


Ignore:
Timestamp:
03/09/2010 10:42:36 PM (15 years ago)
Author:
nacin
Message:

Expose a read-only network.php once multisite is enabled, to ensure access to original configuration such as rewrite rules. see #11816

File:
1 edited

Legend:

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

    r13634 r13638  
    182182    if ( is_multisite() && ($current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path) )
    183183        $submenu['tools.php'][25] = array( __('Delete Blog'), 'manage_options', 'ms-delete-site.php' );
    184     if ( !is_multisite() && is_super_admin() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE )
     184    if ( is_super_admin() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE )
    185185        $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php');
    186186
Note: See TracChangeset for help on using the changeset viewer.