From fa5abb247434037dbd48ea4bc7b081507476580a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Sep 2017 12:21:47 +0000 Subject: [PATCH] I18N: Remove HTML tags from translatable strings in `wp-activate.php`. Props ramiy. Fixes #41645. Built from https://develop.svn.wordpress.org/trunk@41579 git-svn-id: http://core.svn.wordpress.org/trunk@41412 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-activate.php | 7 +++---- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-activate.php b/wp-activate.php index f224a2dbae..1a7d1ecdb9 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -108,10 +108,9 @@ get_header( 'wp-activate' ); ); } else { printf( - /* translators: 1: site URL, 2: site domain, 3: username, 4: user email, 5: lost password URL */ - __( 'Your site at %2$s is active. You may now log in to your site using your chosen username of “%3$s”. Please check your email inbox at %4$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.' ), - 'http://' . $signup->domain, - $signup->domain, + /* 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 ), $signup->user_login, $signup->user_email, wp_lostpassword_url() diff --git a/wp-includes/version.php b/wp-includes/version.php index 684d87da86..0cc636b913 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41578'; +$wp_version = '4.9-alpha-41579'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.