[wp-trac] [WordPress Trac] #21120: Optimize get_user_by()

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 31 17:47:11 UTC 2012


#21120: Optimize get_user_by()
------------------------------------+------------------------------
 Reporter:  kurtpayne               |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Performance             |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+------------------------------

Comment (by nacin):

 In [21377]:
 {{{
 #!CommitTicketReference repository="" revision="21377"
 Use get_userdata() rather than new WP_User in is_super_admin(), to take
 advantage of the performance improvements in [21376]. see #21120.
 }}}

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


More information about the wp-trac mailing list