[wp-trac] [WordPress Trac] #11803: create a manage_sites cap for super admins

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 13:21:05 UTC 2010


#11803: create a manage_sites cap for super admins
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:           
     Type:  defect (bug)       |      Status:  new      
 Priority:  normal             |   Milestone:  3.0      
Component:  Users              |     Version:  3.0      
 Severity:  normal             |    Keywords:  multisite
-------------------------------+--------------------------------------------
 Per discussion in IRC and #11644, we create a manage_sites cap.

 current_user_can(manage_sites) initially returns is_super_admin(). This
 improves code readability and opens the door for future enhancements in a
 fully transparent manner.

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


More information about the wp-trac mailing list