Add add_users cap to allow distringuishing between adding and creating users.

git-svn-id: https://develop.svn.wordpress.org/trunk@14174 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-04-21 16:33:13 +00:00
parent bc16bc564e
commit f234057c83
1 changed files with 1 additions and 0 deletions

View File

@ -608,6 +608,7 @@ function populate_roles_300() {
if ( !empty( $role ) ) {
$role->add_cap( 'update_core' );
$role->add_cap( 'remove_users' );
$role->add_cap( 'add_users' );
$role->add_cap( 'edit_theme_options' );
}
}