Make WordPress Core


Ignore:
Timestamp:
04/30/2004 04:32:48 AM (20 years ago)
Author:
saxmatt
Message:

Take out allowed users stuff since we're not using it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/menu.php

    r1205 r1210  
    2929    if ($user_level >= $item[1]) {
    3030        if (('upload.php' == $item[2] && get_settings('use_fileupload') && ($user_level >= get_settings('fileupload_minlevel'))
    31              && (in_array($user_login, explode(' ', $allowed_users)) || (trim(get_settings('fileupload_allowedusers'))==''))) || 'upload.php' != $item[2])
     31             )) || 'upload.php' != $item[2])
    3232            echo "\n\t<li><a href='{$item[2]}'$class>{$item[0]}</a></li>";
    3333    }
Note: See TracChangeset for help on using the changeset viewer.