[wp-trac] [WordPress Trac] #15173: duplicate calls to 'add_new_user_to_blog'

WordPress Trac noreply at wordpress.org
Sat Jan 12 09:06:40 UTC 2013


#15173: duplicate calls to  'add_new_user_to_blog'
------------------------------------+------------------
 Reporter:  sboisvert               |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.6
Component:  Multisite               |     Version:
 Severity:  minor                   |  Resolution:
 Keywords:  3.2-early dev-feedback  |
------------------------------------+------------------
Changes (by wonderboymusic):

 * milestone:  Future Release => 3.6


Comment:

 It's actually safer to remove the direct call. In `add_new_user_to_blog(
 $user_id, $email, $meta )`, `$email` is unused. So, even though passing
 password sucks, it is ignored by the function when this is what is passed:
 `add_new_user_to_blog( $user_id, $password, $meta )`

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


More information about the wp-trac mailing list