[wp-trac] [WordPress Trac] #14122: Custom "capabilities" appears broken on custom post types

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 5 23:06:05 UTC 2010


#14122: Custom "capabilities" appears broken on custom post types
----------------------------+-----------------------------------------------
 Reporter:  jakemgold       |       Owner:  nacin      
     Type:  task (blessed)  |      Status:  assigned   
 Priority:  normal          |   Milestone:  3.1        
Component:  Post Types      |     Version:  3.0        
 Severity:  normal          |    Keywords:  needs-patch
----------------------------+-----------------------------------------------

Comment(by WraithKenny):

 Perhaps the use case is a special user with exclusive rights (that even
 admins don't have I guess) to a CPT, in which case, a custom role with
 custom caps would be created, so they may as well set `map_meta_cap`
 explicitly to `false`. This would be a rare and limited case and would
 suggest that the default be true on map_meta_cap.

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


More information about the wp-trac mailing list