From d9c35ed9498cf564471d1b35d7d98144bd074737 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 25 Feb 2008 08:08:09 +0000 Subject: [PATCH] Put settings first in the side menu git-svn-id: https://develop.svn.wordpress.org/trunk@7017 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/menu.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 6dcf5c6cbd..64946eb328 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -18,13 +18,12 @@ else $awaiting_mod = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'"); $menu[15] = array(__('Design'), 'switch_themes', 'themes.php'); $menu[20] = array( sprintf( __('Comments %s'), "$awaiting_mod" ), 'edit_posts', 'edit-comments.php'); -$menu[30] = array(__('Plugins'), 'activate_plugins', 'plugins.php'); +$menu[30] = array(__('Settings'), 'manage_options', 'options-general.php'); +$menu[35] = array(__('Plugins'), 'activate_plugins', 'plugins.php'); if ( current_user_can('edit_users') ) - $menu[35] = array(__('Users'), 'edit_users', 'users.php'); + $menu[40] = array(__('Users'), 'edit_users', 'users.php'); else - $menu[35] = array(__('Profile'), 'read', 'profile.php'); -$menu[40] = array(__('Settings'), 'manage_options', 'options-general.php'); - + $menu[40] = array(__('Profile'), 'read', 'profile.php'); $_wp_real_parent_file['post.php'] = 'post-new.php'; // Back-compat $submenu['post-new.php'][5] = array(__('Post'), 'edit_posts', 'post-new.php');