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

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 21 15:43:40 UTC 2010


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

Comment(by kevinB):

 Are you interested in making map_meta_cap deal with custom stati?

 I have a revision that does, but have been waiting to see if the status
 cap approach I proposed for #12706 will be accepted.

 Along with the custom stati patch there, I attached a plugin which calls
 register_post_status and provides meta cap mapping which supports custom
 type and custom status.

 If you and ptah take a look at that patch and plugin, I think you will
 find my code more advanced and WP-standards-compliant than my trac/svn
 protocol.

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


More information about the wp-trac mailing list