Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

URL not fixed in email sent to user #6

Open
abdusfauzi opened this issue Jul 25, 2018 · 4 comments
Open

URL not fixed in email sent to user #6

abdusfauzi opened this issue Jul 25, 2018 · 4 comments

Comments

@abdusfauzi
Copy link

After user register and created new subdomain (sub-site), they were sent an activation email. However, the url for activation seems not using the /wp/ fix.

To activate your blog, please click the following link:

http://aman.kakiproperty.test/wp-activate.php?key=87ee9bcc62822257

After you activate, you will receive *another email* with your login.

After you activate, you can visit your site here:

http://aman.kakiproperty.test/

Is the filter priority was later than this?

@JulienMelissas
Copy link
Contributor

Hmmm, this is a good catch. I need to test locally. We don't use activation links so I haven't noticed this. I know it's the purpose of the plugin, but doesn't WP at least redirect to the proper URL? Or does it results in a 404 (much bigger issue)?

Thanks.

@abdusfauzi
Copy link
Author

@JulienMelissas I can't remember how it redirect, but it did not redirect to 404. perhaps, homepage. Need to retest. Will update again.

@JulienMelissas
Copy link
Contributor

Hello @abdusfauzi, any chance you would have an update on my above question about the redirect? Doing a little bit of issue cleanup. Thanks!

@JulienMelissas
Copy link
Contributor

Also, did a little bit more research and it looks like there are some filters available now to customize the registration emails (wp_new_user_notification_email and wp_new_user_notification_email_admin): https://wordpress.stackexchange.com/a/289948

I would welcome a PR that can provide a fix to this! Or maybe if I can get some free time (haha) I'll try and get to it myself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants