[wp-trac] [WordPress Trac] #32994: invite email from secondary blog does not use network site URL for wp-activate link

WordPress Trac noreply at wordpress.org
Tue Jul 14 14:33:20 UTC 2015


#32994: invite email from secondary blog does not use network site URL for wp-
activate link
--------------------------------+-----------------------------
 Reporter:  leedo               |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  4.2.2
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 When inviting a user as an admin from a secondary site, the message uses
 `site_url('wp-activate.php?key=$key')` to generate the invite link. This
 is a problem because `wp-activate.php` returns a 404 when accessed outside
 the network site domain. Instead it should use `network_site_url('wp-
 activate.php?key=$key')`, as is done elsewhere.

 Here is the line in question:
 https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-
 functions.php#L953

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32994>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list