[wp-trac] Re: [WordPress Trac] #4170: author pages do an uncached user_nicename lookup

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 16:59:22 GMT 2009


#4170: author pages do an uncached user_nicename lookup
--------------------------+-------------------------------------------------
 Reporter:  andy          |       Owner:  westi           
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  2.8             
Component:  Optimization  |     Version:  2.1             
 Severity:  minor         |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  needs-patch => has-patch tested
  * component:  Administration => Optimization
  * milestone:  2.9 => 2.8


Comment:

 new patch does the following, against 2.8/trunk:

  - add a get_user_by_nicename() function that caches its results
  - sets and flushes the cache where appropriate
  - uses the function in WP_Query

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


More information about the wp-trac mailing list