[wp-hackers] add_users vs. create_users capabilities

Andrew Nacin wp at andrewnacin.com
Tue Mar 1 20:16:21 UTC 2011


On Tue, Mar 1, 2011 at 7:53 AM, John Blackbourn <johnbillion+wp at gmail.com>wrote:

> Anyone know what the difference between the 'add_users' and
> 'create_users' capabilities are? It seems that add_users isn't used
> anywhere, but the capability is still granted to administrators in the
> function populate_roles_300(). Is this a deprecated capability?


Hmm. Really no idea what happened there.

create_users is for actually creating a user.

promote_users is for changing a user's role and/or adding a user to a blog
(considered an act of promotion).

add_users was never used and is a vestige.

Nacin


More information about the wp-hackers mailing list