[wp-trac] [WordPress Trac] #13358: Switch post type and tax capabilities to a single 'cap' property

WordPress Trac wp-trac at lists.automattic.com
Wed May 12 20:45:22 UTC 2010


#13358: Switch post type and tax capabilities to a single 'cap' property
-----------------------------+----------------------------------------------
 Reporter:  nacin            |       Owner:     
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.0
Component:  Role/Capability  |     Version:     
 Severity:  normal           |    Keywords:     
-----------------------------+----------------------------------------------

Comment(by nacin):

 (In [14585]) Move post type object capabilities to a 'cap' object. Allow
 them to be initialized via the 'capabilities' key (an array) when
 registering support for the post type. Caps are now referred to by the
 name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.

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


More information about the wp-trac mailing list