Skip to content

Commit d3df7a6

Browse files
I18N: Remove <a> tag from a translatable string in confirm_another_blog_signup().
Props ramiy. Fixes #41694. git-svn-id: https://develop.svn.wordpress.org/trunk@41911 602fd350-edb4-49c9-b593-d223f7449a82
1 parent aa3e40c commit d3df7a6

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/wp-signup.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,13 @@ function confirm_another_blog_signup( $domain, $path, $blog_title, $user_name, $
470470
?></h2>
471471
<p>
472472
<?php printf(
473-
/* translators: 1: home URL, 2: site address, 3: login URL, 4: username */
474-
__( '<a href="%1$s">%2$s</a> is your new site. <a href="%3$s">Log in</a> as &#8220;%4$s&#8221; using your existing password.' ),
475-
esc_url( $home_url ),
476-
untrailingslashit( $domain . $path ),
473+
/* translators: 1: link to new site, 2: login URL, 3: username */
474+
__( '%1$s is your new site. <a href="%2$s">Log in</a> as &#8220;%3$s&#8221; using your existing password.' ),
475+
sprintf(
476+
'<a href="%s">%s</a>',
477+
esc_url( $home_url ),
478+
untrailingslashit( $domain . $path )
479+
),
477480
esc_url( $login_url ),
478481
$user_name
479482
); ?>

0 commit comments

Comments
 (0)