Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#51781 new defect (bug)

Code not pulling website URL

Reported by: vejapixel Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.3
Component: Users Keywords: needs-patch
Focuses: multisite Cc:


Hello people,

I have activated the multisite network. And when a user signs up on one of the network’s sites (main site or subsite), that user receives an email with a confirmation link. After the user clicks on the confirmation link, he receives another email stating that his account is ok, and the signature of that email shows the code (###SITEURL###) that should call the URL of my site: https://prnt.sc/vjjaxz

Thank you!

Change History (2)

#1 @pbiron
10 months ago

  • Component changed from General to Users

It looks like you've changed the default text of the "new user" email (possibly via a plugin).

The default text is:


Your new account is set up.

You can log in with the following information:
Username: USERNAME
Password: PASSWORD


--The Team @ SITE_NAME'

where, USERNAME, PASSWORD, LOGINLINK and SITE_NAME "placeholders" are substituted appropriately before the email is sent out.

That is, the ###SITEURL### "placeholder" isn't something that WordPress core uses...and hence, doesn't substitute.

Can you confirm whether you have changed the default text (e.g., in the Network Admin > Settings screen or via a plugin that you've installed)?

#2 @vejapixel
10 months ago

OK, I found the place where I change this code ###SITEURL###: https://prnt.sc/vjp568

So, this site is not recognized by WordPress? What code is accepted to call the address of the website where the user registered?

Another thing...
I am using the "All In One WP Security" plugin and this plugin has a feature where you can customize the default login page link (wp-login.php).

Then, when a user signs up, they need to receive an email with the link to the personalized login page.

My site has an active multisite network, and when I register a user via the network (/wp-admin/network/user-new.php), the user receives an email with a link to confirm the registration, and when the user clicks on that link and he receives another email confirming his registration along with his password + the link the login page (personalized).

However, when I register a user directly on the individual site (main site or subsite - /wp-admin/user-new.php), the user receives the link for confirmation and after clicking on the link he receives another email with his password + the link the default login (wp-login.php): https://prnt.sc/vjpcg7
However, it is wrong, as the user must also receive the personalized login link.

I know it's a plugin feature, but I decided to inform you because maybe you have a solution to give me.

I have already contacted the plugin stating this problem: https://wordpress.org/support/topic/custom-login-url-is-not-sent-to-the-new-user/

Note: See TracTickets for help on using tickets.