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:
parent
bf0e370502
commit
2f2b59cafe
|
@ -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