[wp-trac] [WordPress Trac] #43701: Make the "read_private” cap accessible over the REST API
WordPress Trac
noreply at wordpress.org
Wed Aug 29 01:55:48 UTC 2018
#43701: Make the "read_private” cap accessible over the REST API
--------------------------------------+-----------------------
Reporter: twoelevenjay | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: REST API | Version: 4.9.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-----------------------
Changes (by rachelbaker):
* Attachment "43701.2.diff" added.
Only allow users with the `read_private_posts` cap to view private posts,
not drafts or other non-public statuses. Adds more tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43701>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list