Require manage_options cap to access Options menu.

git-svn-id: https://develop.svn.wordpress.org/trunk@3185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-11-21 09:29:19 +00:00
parent a600bbf61c
commit 73997ea8ae
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if ( current_user_can('edit_users') )
$menu[35] = array(__('Users'), 'read', 'profile.php'); $menu[35] = array(__('Users'), 'read', 'profile.php');
else else
$menu[35] = array(__('Profile'), 'read', 'profile.php'); $menu[35] = array(__('Profile'), 'read', 'profile.php');
$menu[40] = array(__('Options'), 'read', 'options-general.php'); $menu[40] = array(__('Options'), 'manage_options', 'options-general.php');
$menu[45] = array(__('Import'), 'import', 'import.php'); $menu[45] = array(__('Import'), 'import', 'import.php');
$submenu['post.php'][5] = array(__('Write Post'), 'edit_posts', 'post.php'); $submenu['post.php'][5] = array(__('Write Post'), 'edit_posts', 'post.php');