[wp-trac] [WordPress Trac] #12498: wp permissions

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 3 23:42:34 UTC 2010


#12498: wp permissions
--------------------------+-------------------------------------------------
 Reporter:  ceenz         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Post Types    |     Version:  3.0        
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by scribu):

 I think there already are checks of this form:

 {{{current_user_can("edit_published_{$post_type}")}}}

 (I might be wrong)

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


More information about the wp-trac mailing list