Make WordPress Core


Ignore:
Timestamp:
04/03/2010 05:14:34 AM (14 years ago)
Author:
nacin
Message:

Make remove_user a meta capability. see #12793

File:
1 edited

Legend:

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

    r13827 r13956  
    608608    if ( !empty( $role ) ) {
    609609        $role->add_cap( 'update_core' );
    610         $role->add_cap( 'remove_user' );
    611610        $role->add_cap( 'remove_users' );
    612611    }
Note: See TracChangeset for help on using the changeset viewer.