WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/25/2010 10:46:41 PM (11 years ago)
Author:
ryan
Message:

Move blog deletion to ms-delete-site.php. see #11644

File:
1 edited

Legend:

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

    r12818 r12828  
    137137    if ( is_super_admin() )
    138138        $submenu['tools.php'][20] = array( __('Upgrade'), 'install_plugins',  'update-core.php');
     139    if ( is_multisite() && ($current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path) )
     140        $submenu['tools.php'][25] = array( __('Delete Blog'), 'manage_options', 'ms-delete-site.php' );
    139141
    140142$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' );
     
    148150    if ( is_super_admin() )
    149151        $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
    150     if ( !is_multisite() && is_super_admin() ) {
     152    if ( !is_multisite() && is_super_admin() )
    151153        $submenu['options-general.php'][50] = array(__('Network'), 'manage_options', 'options-network.php');
    152     }
    153154
    154155$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
Note: See TracChangeset for help on using the changeset viewer.