From aaf1fc64c4b0f49416cf24c3c411f54af944e0fe Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Sun, 18 Mar 2018 14:45:30 +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. Built from https://develop.svn.wordpress.org/trunk@42844 git-svn-id: http://core.svn.wordpress.org/trunk@42674 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-activate.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-activate.php b/wp-activate.php index 5150c299f4..ad3ac5d58b 100644 --- a/wp-activate.php +++ b/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() diff --git a/wp-includes/version.php b/wp-includes/version.php index 7127f2a1ed..bf343c8185 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42843'; +$wp_version = '5.0-alpha-42844'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.