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

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 30 20:51:38 UTC 2010


#14479: Add filter hook to 'is_super_admin()' function
-----------------------------+----------------------------------------------
 Reporter:  benward          |       Owner:  benward                             
     Type:  enhancement      |      Status:  new                                 
 Priority:  normal           |   Milestone:  Awaiting Review                     
Component:  Role/Capability  |     Version:  3.0                                 
 Severity:  normal           |    Keywords:  capabilities, is_super_admin, fiters
-----------------------------+----------------------------------------------
 This patch adds a new filter, named 'is_super_admin' to the end of the
 capabilities.php:is_super_admin() function, allowing plugins to override
 the result of this capabilities check.

 Use cases:

     * Applying/restricting Super Admin privilege based on an external user
 authentication/permissions system.
    * Restricting Super Admin privilege based on a user's network location.

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


More information about the wp-trac mailing list