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:
parent
6a4971c131
commit
219f902d3d
|
@ -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' );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue