From 4b89863ddd655a3ae303b4e7603e7a317b05c99e Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sun, 18 Mar 2018 14:44:47 +0000 Subject: [PATCH] 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 --- src/wp-activate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-activate.php b/src/wp-activate.php index 5150c299f4..ad3ac5d58b 100644 --- a/src/wp-activate.php +++ b/src/wp-activate.php @@ -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 reset your password.' ), - sprintf( '%s', $signup->domain ), + sprintf( '%1$s', $signup->domain ), $signup->user_login, $signup->user_email, wp_lostpassword_url()