Require manage_options cap to access Options menu.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-11-21 09:29:19 +00:00
parent d203771e72
commit f7cda7e8db
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');
else
$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');
$submenu['post.php'][5] = array(__('Write Post'), 'edit_posts', 'post.php');