[wp-trac] [WordPress Trac] #14842: Efficiency improvement for is_super_admin()

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 10 23:24:37 UTC 2010


#14842: Efficiency improvement for is_super_admin()
-------------------------+--------------------------------------------------
 Reporter:  mdawaffe     |        Owner:        
     Type:  enhancement  |       Status:  closed
 Priority:  normal       |    Milestone:  3.1   
Component:  Multisite    |      Version:  3.0.1 
 Severity:  normal       |   Resolution:  fixed 
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [15608]) More efficient is_super_admin(). Don't call new WP_User on
 the current user. props mdawaffe, fixes #14842.

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


More information about the wp-trac mailing list