mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Make remove_user a meta capability. see #12793
git-svn-id: https://develop.svn.wordpress.org/trunk@13956 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -607,7 +607,6 @@ function populate_roles_300() {
|
||||
|
||||
if ( !empty( $role ) ) {
|
||||
$role->add_cap( 'update_core' );
|
||||
$role->add_cap( 'remove_user' );
|
||||
$role->add_cap( 'remove_users' );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user