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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-04-21 16:33:13 +00:00
parent 6a4971c131
commit 219f902d3d
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' );
}
}