Comment that the add_users capability was never used and has its days numbered. see #16719.

git-svn-id: http://core.svn.wordpress.org/trunk@22300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-10-25 20:18:24 +00:00
parent f5130199fa
commit d08bf937de
1 changed files with 4 additions and 0 deletions

View File

@ -792,7 +792,11 @@ function populate_roles_300() {
$role->add_cap( 'update_core' );
$role->add_cap( 'list_users' );
$role->add_cap( 'remove_users' );
// Never used, will be removed. create_users or
// promote_users is the capability you're looking for.
$role->add_cap( 'add_users' );
$role->add_cap( 'promote_users' );
$role->add_cap( 'edit_theme_options' );
$role->add_cap( 'delete_themes' );