[wp-trac] Re: [WordPress Trac] #4642: Enhanced wp-mail.php

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 21 16:08:08 GMT 2007


#4642: Enhanced wp-mail.php
------------------------------+---------------------------------------------
 Reporter:  lexhair           |        Owner:  Bobcat
     Type:  enhancement       |       Status:  new   
 Priority:  normal            |    Milestone:  2.4   
Component:  Administration    |      Version:  2.3   
 Severity:  normal            |   Resolution:        
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Comment (by Bobcat):

 OK, I can pattern it after get_userdatabylogin, but I don't know what to
 do with the following code:

 {{{
 $user_id = wp_cache_get($user_login, 'userlogins');
 $userdata = wp_cache_get($user_id, 'users');
 if ( $userdata )
         return $userdata;
 }}}

 Is there an equivalent for user_email?  If so, how do I use it?

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


More information about the wp-trac mailing list