Make WordPress Core

Ticket #51792: 51792-2.diff

File 51792-2.diff, 971 bytes (added by Ipstenu, 4 years ago)
  • src/wp-includes/pluggable.php

     
    19861986                // We want to reverse this for the plain text arena of emails.
    19871987                $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    19881988
     1989                $homeurl = home_url( '/' );
     1990
    19891991                if ( 'user' !== $notify ) {
    19901992                        $switched_locale = switch_to_locale( get_locale() );
    19911993
    1992                         /* translators: %s: Site title. */
    1993                         $message = sprintf( __( 'New user registration on your site %s:' ), $blogname ) . "\r\n\r\n";
     1994                        /* translators: 1: Site title. 2 Site URL */
     1995                        $message = sprintf( __( 'New user registration on your site %1$s ( %2$s ):' ), $blogname, $homeurl ) . "\r\n\r\n";
    19941996                        /* translators: %s: User login. */
    19951997                        $message .= sprintf( __( 'Username: %s' ), $user->user_login ) . "\r\n\r\n";
    19961998                        /* translators: %s: User email address. */