[wp-trac] [WordPress Trac] #13494: Wrong default capability for read_post in get_post_type_capabilities()

WordPress Trac wp-trac at lists.automattic.com
Sat May 22 12:30:29 UTC 2010


#13494: Wrong default capability for read_post in get_post_type_capabilities()
--------------------------+-------------------------------------------------
 Reporter:  rovo89        |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Post Types    |     Version:  3.0       
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 The function `get_post_type_capabilities` sets the capability for
 read_post to edit_my_post_type instead of read_my_post_type. This is fixed
 by this patch.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13494>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list