Make WordPress Core


Ignore:
Timestamp:
11/18/2010 05:24:13 AM (16 years ago)
Author:
nacin
Message:

Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461.

File:
1 edited

Legend:

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

    r16327 r16453  
    3838
    3939$menu[25] = array(__('Settings'), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'div');
     40if ( defined( 'MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) {
     41        $submenu['settings.php'][5]  = array( __('Settings'), 'manage_network_options', 'settings.php' );
     42        $submenu['settings.php'][10] = array( __('Network Setup'), 'manage_network_options', 'setup.php' );
     43}
    4044
    4145$update_themes = get_site_transient( 'update_themes' );
Note: See TracChangeset for help on using the changeset viewer.