[wp-trac] [WordPress Trac] #9674: Better support for custom post types

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 19:19:58 UTC 2010


#9674: Better support for custom post types
------------------------------------+---------------------------------------
 Reporter:  wnorris                 |        Owner:  ryan    
     Type:  task (blessed)          |       Status:  reopened
 Priority:  normal                  |    Milestone:  3.0     
Component:  Administration          |      Version:  2.9     
 Severity:  normal                  |   Resolution:          
 Keywords:  has-patch tested early  |  
------------------------------------+---------------------------------------

Comment(by ryan):

 Replying to [comment:272 ceenz]:
 > is current_user_can( 'edit_page', $post_ID ) now a duplication of
 > current_user_can( 'edit_post', $post_ID ) now with all post types being
 treated the same way?

 No, each post type can have its own caps.  edit_page is distinct from
 edit_post.

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


More information about the wp-trac mailing list