WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/16/2010 02:54:44 PM (12 years ago)
Author:
nacin
Message:

Allow create_users cap to be used independently of edit_users cap. fixes #12794.

File:
1 edited

Legend:

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

    r14100 r14110  
    187187    $_wp_real_parent_file['users.php'] = 'profile.php';
    188188    $submenu['profile.php'][5] = array(__('Your Profile'), 'read', 'profile.php');
     189    $submenu['profile.php'][10] = array(__('Add New User'), 'create_users', 'user-new.php');
    189190}
    190191
Note: See TracChangeset for help on using the changeset viewer.