[wp-trac] [WordPress Trac] #16847: Capability check fails for custom post type revision edit (& map_meta_cap no good)
WordPress Trac
noreply at wordpress.org
Thu Feb 14 14:07:05 UTC 2013
#16847: Capability check fails for custom post type revision edit (& map_meta_cap
no good)
------------------------------------------------------+------------------
Reporter: anmari | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Revisions | Version: 3.0
Severity: minor | Resolution:
Keywords: reporter-feedback has-patch dev-feedback |
------------------------------------------------------+------------------
Comment (by westi):
In [changeset:"1212/tests"]:
{{{
#!CommitTicketReference repository="tests" revision="1212"
Revisions: Test the capability checks used in wp-admin/revision.php
against how we expect them to behave both with a built-in and a custom
post type
See #16847 - Trying to explore CPTs and Custom Capabilities with revisions
edit/view/restore
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16847#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list