[wp-trac] [WordPress Trac] #21788: Relocate revoke_super_admin() and grant_super_admin() to capabilities.php

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 4 11:09:57 UTC 2012


#21788: Relocate revoke_super_admin() and grant_super_admin() to capabilities.php
-----------------------------+-----------------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 Would be nice to move revoke_super_admin() and grant_super_admin() out of
 /wp-admin/includes/ms.php and into to /wp-includes/capabilities.php, where
 the rest of the _super_admin() functions are.

 This allows theme-side user profile plugins (see: the bb's) to use these
 functions without needing to pull in a wp-admin file directly.

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


More information about the wp-trac mailing list