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

WordPress Trac noreply at wordpress.org
Thu Feb 28 20:28:38 UTC 2013


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

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23535"]:
 {{{
 #!CommitTicketReference repository="" revision="23535"
 Remove direct call to add_new_user_to_blog() as this is already hooked
 into wpmu_activate_user.

 The second argument passed by that hook is not $email, so let's change
 that. It is not used.

 props wonderboymusic.
 fixes #15173.
 }}}

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


More information about the wp-trac mailing list