[wp-trac] [WordPress Trac] #11380: default_password_nag_handler() creates queries all over the place

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 6 06:22:28 UTC 2010


#11380: default_password_nag_handler() creates queries all over the place
--------------------------------+-------------------------------------------
  Reporter:  Denis-de-Bernardy  |        Type:  defect (bug)
    Status:  closed             |    Priority:  normal      
 Milestone:  3.0                |   Component:  Optimization
   Version:                     |    Severity:  normal      
Resolution:  fixed              |    Keywords:  has-patch   
--------------------------------+-------------------------------------------

Comment(by dd32):

 As of WordPress 3.0, get_user_option() only checks the user object (which
 is filled with the usermeta on creation). Using that instead means using a
 higher level API as well as avoiding the extra queries which were seen.

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


More information about the wp-trac mailing list