Ticket #42486: 42486-menu.php.patch
File 42486-menu.php.patch, 1.1 KB (added by , 8 years ago) |
---|
-
menu.php
240 240 } 241 241 } 242 242 243 if ( current_user_can( 'import' ) ) { 243 244 $menu[75] = array( __('Tools'), 'edit_posts', 'tools.php', '', 'menu-top menu-icon-tools', 'menu-tools', 'dashicons-admin-tools' ); 244 245 $submenu['tools.php'][5] = array( __('Available Tools'), 'edit_posts', 'tools.php' ); 245 246 $submenu['tools.php'][10] = array( __('Import'), 'import', 'import.php' ); … … 248 249 $submenu['tools.php'][25] = array( __('Delete Site'), 'delete_site', 'ms-delete-site.php' ); 249 250 if ( ! is_multisite() && defined('WP_ALLOW_MULTISITE') && WP_ALLOW_MULTISITE ) 250 251 $submenu['tools.php'][50] = array(__('Network Setup'), 'setup_network', 'network.php'); 252 } 251 253 252 254 $menu[80] = array( __('Settings'), 'manage_options', 'options-general.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); 253 255 $submenu['options-general.php'][10] = array(_x('General', 'settings screen'), 'manage_options', 'options-general.php');