[wp-trac] [WordPress Trac] #2531: Functions for registering additional capabilities and getting a list of all capabilities

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 5 15:50:58 GMT 2006


#2531: Functions for registering additional capabilities and getting a list of all
capabilities
----------------------------+-----------------------------------------------
       Id:  2531            |      Status:  new                     
Component:  Administration  |    Modified:  Sun Mar  5 15:50:58 2006
 Severity:  normal          |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0.1                   
    Owner:  anonymous       |    Reporter:  markjaquith             
----------------------------+-----------------------------------------------
 Plugin authors need a way of announcing the additional "add on"
 capabilities used in their plugins.

 Additionally, role manager plugins need a way of getting a list of all
 registered capabilities.

 Proposed functions:


 {{{
 register_cap('cap_name');

 get_all_caps();
 }}}


 Patch is coming.

 Initial milestone of 2.1, but it would be really nice to get this into
 2.0.2 ... because 3rd party capabilities are largely useless until we have
 this.

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


More information about the wp-trac mailing list