WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/01/2010 08:12:56 AM (12 years ago)
Author:
dd32
Message:

Revert [12908]. Update Users cap to use a capability. See #12098. Props nacin

File:
1 edited

Legend:

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

    r12908 r12916  
    129129    $_wp_real_parent_file['profile.php'] = 'users.php'; // Back-compat for plugins adding submenus to profile.php.
    130130    $submenu['users.php'][5] = array(__('Authors & Users'), 'edit_users', 'users.php');
    131 
    132     if ( ! is_multisite() || get_site_option( 'add_new_users' ) )
    133         $submenu['users.php'][10] = array(_x('Add New', 'user'), 'create_users', 'user-new.php');
     131    $submenu['users.php'][10] = array(_x('Add New', 'user'), 'create_users', 'user-new.php');
    134132
    135133    $submenu['users.php'][15] = array(__('Your Profile'), 'read', 'profile.php');
Note: See TracChangeset for help on using the changeset viewer.