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:
parent
7fd6ee71e7
commit
80b2fb5748
|
@ -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')
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue