[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
Fri Jan 25 05:50:54 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.2.1
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+--------------------

Comment (by nacin):

 I doubt there is a bug here at all.

 Revisions simply use its parent post for cap checking. This is baked into
 map_meta_cap directly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16847#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list