WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/09/2010 07:10:07 PM (12 years ago)
Author:
nacin
Message:

Rename WP_ENABLE_MULTISITE to WP_ALLOW_MULTISITE to minimize confusion. Prevent direct access to network.php without the constant unless the install process was already started. see #11816 for network.php. see #11644

File:
1 edited

Legend:

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

    r13607 r13634  
    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_ENABLE_MULTISITE') )
     184    if ( !is_multisite() && 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.