[wp-trac] [WordPress Trac] #14479: Add filter hook to 'is_super_admin()' function

WordPress Trac noreply at wordpress.org
Fri Feb 21 18:24:56 UTC 2014


#14479: Add filter hook to 'is_super_admin()' function
-----------------------------+-----------------------------
 Reporter:  benward          |       Owner:  benward
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Role/Capability  |     Version:  3.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------

Comment (by mordauk):

 I'm not confident we should be giving plugins the power to do that so
 easily. Right now if a plugin wanted to give a user super admin rights, it
 could use the
 [http://codex.wordpress.org/Function_Reference/grant_super_admin()
 grant_super_admin()] function.

 I'd rather plugins be required to promote a user to a super admin instead
 of allowing them to simply filter the is_super_admin check.

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


More information about the wp-trac mailing list