Make WordPress Core


Ignore:
Timestamp:
04/22/2010 07:48:13 PM (14 years ago)
Author:
josephscott
Message:

New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r14176 r14189  
    608608    if ( !empty( $role ) ) {
    609609        $role->add_cap( 'update_core' );
     610        $role->add_cap( 'list_users' );
    610611        $role->add_cap( 'remove_users' );
    611612        $role->add_cap( 'add_users' );
Note: See TracChangeset for help on using the changeset viewer.