[wp-trac] [WordPress Trac] #40577: Introduce a capability for viewing the revisions of a post
WordPress Trac
noreply at wordpress.org
Mon Jul 17 21:49:26 UTC 2017
#40577: Introduce a capability for viewing the revisions of a post
-------------------------------------+-------------------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Revisions | Version: 2.6
Severity: normal | Resolution:
Keywords: needs-patch needs-unit- | Focuses: administration, rest-
tests granular-capabilities | api
-------------------------------------+-------------------------------------
Comment (by adamsilverstein):
@johnbillion - were you thinking something like [attachment:40577.diff]? I
added `read_revision` for `$revision->ID` and `read_revisions` for
`$revision->post_parent`. Not sure this is enough to get what you were
suggesting. If so, we need some unit tests to validate the behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40577#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list