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

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 21 18:23:01 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 ryan):

 WP_User is the way to go.  What was the error, exactly.

 Also, instead of adding another get_userdata* function, let's add
 get_user_by().

 {{{
 function get_user_by($field, $value, $output = OBJECT, $filter = 'raw')

 get_user_by('email', 'blah at blah.blah');
 }}}

 get_term_by() offers an example.

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


More information about the wp-trac mailing list