[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 15:27:38 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 nacin):

 In [changeset:"1213/tests"]:
 {{{
 #!CommitTicketReference repository="tests" revision="1213"
 Add a revisions capability test for when the post cannot be edited once
 published because the edit_published_posts cap is denied. See
 [1212/tests]. See #16847. Trims westi's whitespace.
 }}}

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


More information about the wp-trac mailing list