Make WordPress Core

Changeset 41911


Ignore:
Timestamp:
10/18/2017 05:35:55 PM (4 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <a> tag from a translatable string in confirm_another_blog_signup().

Props ramiy.
Fixes #41694.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r41353 r41911  
    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
Note: See TracChangeset for help on using the changeset viewer.