From 4994c77b2873250a53a83d616a22cba58c877640 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 23 Sep 2017 12:20:39 +0000 Subject: [PATCH] I18N: Remove HTML tags from translatable strings in `wp-activate.php`. Props ramiy. Fixes #41645. git-svn-id: https://develop.svn.wordpress.org/trunk@41579 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-activate.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wp-activate.php b/src/wp-activate.php index f224a2dbae..1a7d1ecdb9 100644 --- a/src/wp-activate.php +++ b/src/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()