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

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 21 16:13:47 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 westi):

 Replying to [comment:10 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?

 There is no equivalent at the moment - for now code it without the caching
 and we can decide what to cache it on afterwards.

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


More information about the wp-trac mailing list