Upload menu item should respect minimum user setting.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-10 18:25:17 +00:00
parent bf0e370502
commit 2f2b59cafe
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')
);