The official documentation only mentions edit_users
, but in the source I found many places are using edit_user
, what is the difference?
Are there any conventions for singular and plural capabilities? e.g. edit_post
vs edit_posts
?
The official documentation only mentions edit_users
, but in the source I found many places are using edit_user
, what is the difference?
Are there any conventions for singular and plural capabilities? e.g. edit_post
vs edit_posts
?
Comments are closed.
I found a few references to
edit_user
as a capability, one of which is this:I believe the comment in that block of code answers this question.
Per @PatJ, it looks like
map_meta_cap
converts (in a sense)edit_user
intoedit_users
but only if the user attempting to edit the profile is the profile’s owner, thus allowing users who otherwise have no user edit capabilities to edit their own profile information.