[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 18:49:31 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
--------------------------+-------------------------------------------------

Comment(by ryan):

 Should we pattern after get_term_by() and have one function --
 get_user_by() -- for handling retrieving by various fields?  Also, I
 prefer the term "slug" to "nicename". I think it makes it clearer what the
 field is. So, get_user_by('slug', 'admin');

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


More information about the wp-trac mailing list