[wp-trac] [WordPress Trac] #33240: Introduce a capability for previewing posts
WordPress Trac
noreply at wordpress.org
Fri Sep 9 20:21:50 UTC 2016
#33240: Introduce a capability for previewing posts
------------------------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+-----------------------------
Changes (by johnbillion):
* owner: johnbillion =>
* milestone: 4.7 => Future Release
Comment:
This turns out to be more complicated that it first seems.
After patching several places in core with a `preview_post` capability
check, I realised that previewing draft posts is a very different action
to previewing changes to published posts, but they're both called
previews.
We might need a collection of caps such as `preview_published_posts`,
`preview_others_posts`, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33240#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list