What is the edit_published_pages permission in WordPress?
The edit_published_pages permission allows you to edit Pages that are live on a WordPress site.
The main goal of this permission is to allow or prevent people from editing Pages that have already been published.
If you have the edit_published_pages permission, you will see the “Edit” and “Quick Edit” links on the “Pages” screen.
This edit_published_pages permission is very specific. These are 4 key limitations:
- It only applies to the “Pages” post type.
- It only applies to Pages that have the “Published” status.
- It only applies to Pages where the user is the author. To edit Pages written by other people you need the edit_others_pages permission.
- To use it, you must also have edit_pages permission. Without edit_pages, you won't be able to access the “Pages” screen at all.
The edit_published_pages permission is used by the PublishPress Revisions plugin. If you don't have the edit_published_pages permission and try to update a Page, your updates will be held for moderation.
Who has the edit_published_pages permission?
The edit_published_pages permission is available on single WordPress sites and on multisite networks.
Users not in these roles are not allowed to edit published Pages written by other users.
How to control who has the edit_published_pages permission
You can control who has the edit_published_pages permission by installing the PublishPress Capabilities plugin.
- Install the PublishPress Capabilities plugin.
- Go to “Capabilities” in your WordPress admin menu.
- Using the dropdown in the top-left corner, choose the role you want to edit.
- Check or uncheck the box in the “Pages” row of the “Edit published” column.