From 80b2fb5748b054f285084f5081b7869b40242890 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 10 May 2004 18:25:17 +0000 Subject: [PATCH] Upload menu item should respect minimum user setting. git-svn-id: https://develop.svn.wordpress.org/trunk@1262 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/menu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 5beb3d71e2..0bfb78f17d 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -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') );