Upload menu item should respect minimum user setting.

git-svn-id: https://develop.svn.wordpress.org/trunk@1262 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-05-10 18:25:17 +00:00
parent 7fd6ee71e7
commit 80b2fb5748
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $menu = array(
array(__('Options'), 6, 'options-general.php'),
array(__('Plugins'), 8, 'plugins.php'),
array(__('Templates'), 4, 'templates.php'),
array(__('Upload'), 5, 'upload.php'),
array(__('Upload'), get_settings('fileupload_minlevel'), 'upload.php'),
array(__('Profile'), 0, 'profile.php')
);