[wpmu-trac] [WordPress MU Trac] #1112: Incorrect activation link when inviting a new user to a blog other than blog id 1

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Sep 10 04:05:15 UTC 2009


#1112: Incorrect activation link when inviting a new user to a blog other than
blog id 1
----------------------------+-----------------------------------------------
 Reporter:  jamescollins    |       Owner:  somebody
     Type:  defect          |      Status:  new     
 Priority:  normal          |   Milestone:          
Component:  Administration  |     Version:  2.8     
 Severity:  normal          |    Keywords:          
----------------------------+-----------------------------------------------

Comment(by jamescollins):

 I have attached a patch that does a few things:

  * Modifies the initial activation email so the wp-activate.php link
 points to the correct blog (not always blog id 1). In the example above,
 this would be http://blog2.domain.com/wp-activate.php?key=x
  * Uses the new wp_login_url() and admin_url() functions (minor detail)
  * Changes "Your new account is setup" to "Your new account is set up"
 (minor detail)


 Because the original activation email links to the correct blog (not just
 blog id 1), the user account is set up correctly and the endless redirect
 doesn't occur.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1112#comment:1>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list