[wp-hackers] Users without edit_posts capability can't edit page revisions

Simon Blackbourn piemanek at gmail.com
Mon Jan 24 17:05:01 UTC 2011


> Revisions are  a different custom post type, so you need to give user
> capibility to edit revisions.
>
>
ok, so i've just done some digging around in the code and can see that while
revisions are indeed a custom post type, they have the capability_type
posts. there is no such thing as an edit_revisions capability that i can see
- users must have the edit_posts capability.

is there any other solution that doesn't involve giving those users the
edit_posts capability?


More information about the wp-hackers mailing list