Make WordPress Core


Ignore:
Timestamp:
10/25/2012 08:18:24 PM (12 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r22257 r22300  
    793793        $role->add_cap( 'list_users' );
    794794        $role->add_cap( 'remove_users' );
     795
     796        // Never used, will be removed. create_users or
     797        // promote_users is the capability you're looking for.
    795798        $role->add_cap( 'add_users' );
     799
    796800        $role->add_cap( 'promote_users' );
    797801        $role->add_cap( 'edit_theme_options' );
Note: See TracChangeset for help on using the changeset viewer.