[wp-trac] [WordPress Trac] #12691: Editing a page or custom post type requires edit_posts capability

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 27 06:41:01 UTC 2010


#12691: Editing a page or custom post type requires edit_posts capability
--------------------------+-------------------------------------------------
 Reporter:  rovo89        |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  Post Types    |      Version:  3.0   
 Severity:  normal        |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [13841]) Use $ptype_obj->edit_type_cap instead of 'edit_posts' for
 custom post_type menu's & edit.php access. Allows for a user to have the
 capability to edit a post_type irrespective of their Posts access. Props
 rovo89. Fixes #12691

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


More information about the wp-trac mailing list