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:
Andrew Nacin
2010-04-03 05:14:34 +00:00
parent 5be7345c1b
commit 0684fcffda
5 changed files with 24 additions and 11 deletions

View File

@@ -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' );
}
}