[wp-trac] Re: [WordPress Trac] #2134: consolidating get_userdata() and get_userdatabylogin()

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 12 06:43:41 GMT 2007


#2134: consolidating get_userdata() and get_userdatabylogin()
-------------------------------------+--------------------------------------
 Reporter:  johnjosephbachir         |        Owner:  westi   
     Type:  enhancement              |       Status:  assigned
 Priority:  normal                   |    Milestone:  2.3     
Component:  Optimization             |      Version:  2.0     
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by westi):

 Replying to [comment:7 markjaquith]:
 > Only change I would make is to change that SQL query so that it only
 grabs the ID, not the whole row.  See patch.

 Yeah makes sense. When updating the patch I stared at the code in wp-
 db.php but could work out which function I should be using.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2134#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list