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

WordPress Trac noreply at wordpress.org
Tue Apr 12 00:39:37 UTC 2016


#21788: Relocate revoke_super_admin() and grant_super_admin() to capabilities.php
---------------------------------+-----------------------------
 Reporter:  johnjamesjacoby      |       Owner:  jeremyfelt
     Type:  enhancement          |      Status:  accepted
 Priority:  normal               |   Milestone:  Future Release
Component:  Role/Capability      |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  4.6-early has-patch  |     Focuses:  multisite
---------------------------------+-----------------------------
Changes (by jeremyfelt):

 * keywords:  needs-patch 4.6-early => 4.6-early has-patch
 * type:  defect (bug) => enhancement


Comment:

 [attachment:21788.diff] is a refresh against current trunk. It also adds
 an `is_multisite()` check to immediately bail if used for single site.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21788#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list