Make WordPress Core

Changeset 12830


Ignore:
Timestamp:
01/25/2010 11:07:49 PM (16 years ago)
Author:
wpmuguru
Message:

Move network screen to the tools menu, See #12027

Location:
trunk/wp-admin
Files:
1 edited
1 moved

Legend:

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

    r12828 r12830  
    139139    if ( is_multisite() && ($current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path) )
    140140        $submenu['tools.php'][25] = array( __('Delete Blog'), 'manage_options', 'ms-delete-site.php' );
     141    if ( !is_multisite() && is_super_admin() )
     142        $submenu['tools.php'][50] = array(__('Network'), 'manage_options', 'network.php');
    141143
    142144$menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top', 'menu-settings', 'div' );
     
    150152    if ( is_super_admin() )
    151153        $submenu['options-general.php'][45] = array(__('Miscellaneous'), 'manage_options', 'options-misc.php');
    152     if ( !is_multisite() && is_super_admin() )
    153         $submenu['options-general.php'][50] = array(__('Network'), 'manage_options', 'options-network.php');
    154154
    155155$_wp_last_utility_menu = 80; // The index of the last top-level menu in the utility menu group
  • trunk/wp-admin/network.php

    r12829 r12830  
    1616
    1717$title = __('Network Settings');
    18 $parent_file = 'options-network.php';
     18$parent_file = 'tools.php';
    1919
    2020add_contextual_help($current_screen, __('<a href="http://codex.wordpress.org/Settings_Network_SubPanel" target="_blank">Network Settings</a>'));
     
    3232<h2><?php echo esc_html( $title ); ?></h2>
    3333
    34 <form method="post" action="options-network.php">
     34<form method="post" action="network.php">
    3535<?php
    3636function filestats( $err ) {
Note: See TracChangeset for help on using the changeset viewer.