Multisite: Use a numbered placeholder in sprintf()
for the site URL.
Fixes missing site domain in the link and a PHP warning. Props Thomas Vitale, conner_bw. See #41645. Fixes #43568. git-svn-id: https://develop.svn.wordpress.org/trunk@42844 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8df8cf2df1
commit
4b89863ddd
@ -112,7 +112,7 @@ get_header( 'wp-activate' );
|
||||
printf(
|
||||
/* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
|
||||
__( 'Your site at %1$s is active. You may now log in to your site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
|
||||
sprintf( '<a href="http://%s">%s</a>', $signup->domain ),
|
||||
sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
|
||||
$signup->user_login,
|
||||
$signup->user_email,
|
||||
wp_lostpassword_url()
|
||||
|
Loading…
x
Reference in New Issue
Block a user