From f234057c836c0138e6f4ea30fa23402a850a4fb2 Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@14174 602fd350-edb4-49c9-b593-d223f7449a82 --- 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' ); } }