[wp-trac] [WordPress Trac] #11423: user_nicename should get memcached

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 14 16:07:12 UTC 2009


#11423: user_nicename should get memcached
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  3.0
Component:  Optimization       |     Version:  2.9
 Severity:  normal             |    Keywords:     
-------------------------------+--------------------------------------------

Comment(by Denis-de-Bernardy):

 actually, it does get memcached:

 {{{
 wp_cache_add($user->user_nicename, $user->ID, 'userslugs');
 }}}

 so we should use it in WP query and for the display_name.

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


More information about the wp-trac mailing list