From 219f902d3d431e1807954a8b311f4302ff539cb6 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 21 Apr 2010 16:33:13 +0000 Subject: [PATCH] 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 --- wp-admin/includes/schema.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index 67a725c87f..662299651a 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -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' ); } }