[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 17:35:37 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           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by nacin):

 Should probably be moved to ms-functions.php, or be made non-multisite
 aware (in which case they wouldn't do anything). I'm okay with this but it
 was nice to have these in the admin only, I guess to avoid people shooting
 themselves in the foot. wp_delete_user() and wpmu_delete_user() are
 similarly in the admin.

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


More information about the wp-trac mailing list