[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 15:23:33 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 | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by leedo):
A little more info:
Elsewhere, the function`wpmu_signup_blog_notification` is used to send the
invite email. And it uses `network_site_url` to generate the link.
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/ms-
functions.php#L832
`user-new.php` has it's own email template instead, and uses
`wpmu_signup_user_notification` to generate the link. This function uses
`site_url` instead.
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/user-
new.php#L25
I don't see any reason they should generate different links. Perhaps the
`wp-activate.php` link on secondary blogs is meant to redirect to the
primary site, but it does not for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32994#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list