Changeset 956 for trunk/wp-admin/menu.php
- Timestamp:
- 03/01/2004 06:13:32 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/menu.php
r945 r956 14 14 if ((substr($self, -20) == substr($item[1], -20) && empty($parent_file)) || ($parent_file && ($item[1] == $parent_file))) $class = ' class="current"'; 15 15 if ($user_level >= $item[0]) { 16 if (('upload.php' == $item[1] && $use_fileupload && ($user_level >= $fileupload_minlevel)17 && (in_array($user_login, explode(' ', $allowed_users)) || (trim( $fileupload_allowedusers)==""))) || 'upload.php' != $item[1])16 if (('upload.php' == $item[1] && get_settings('use_fileupload') && ($user_level >= get_settings('fileupload_minlevel')) 17 && (in_array($user_login, explode(' ', $allowed_users)) || (trim(get_settings('fileupload_allowedusers'))==''))) || 'upload.php' != $item[1]) 18 18 echo "\n\t<li><a href='{$item[1]}'$class>{$item[2]}</a></li>"; 19 19 }
Note: See TracChangeset
for help on using the changeset viewer.