WordPress.org

Make WordPress Core

Ticket #21089: 21089.2.patch

File 21089.2.patch, 2.1 KB (added by georgestephanis, 22 months ago)
  • wp-includes/ms-functions.php

     
    12231223BLOG_URL 
    12241224 
    12251225You can log in to the administrator account with the following information: 
     1226 
     1227Log in here: BLOG_URLwp-login.php 
    12261228Username: USERNAME 
    12271229Password: PASSWORD 
    1228 Log in here: BLOG_URLwp-login.php 
    12291230 
    12301231We hope you enjoy your new site. Thanks! 
    12311232 
  • wp-admin/includes/upgrade.php

     
    318318 * @param int $user_id User ID. 
    319319 * @param string $password User's Password. 
    320320 */ 
    321 function wp_new_blog_notification($blog_title, $blog_url, $user_id, $password) { 
    322         $user = new WP_User($user_id); 
     321function wp_new_blog_notification( $blog_title, $blog_url, $user_id, $password ) { 
     322        $user = new WP_User( $user_id ); 
    323323        $email = $user->user_email; 
    324324        $name = $user->user_login; 
    325         $message = sprintf(__("Your new WordPress site has been successfully set up at: 
     325        $login_url = wp_login_url(); 
     326        $message = sprintf( __( "Your new WordPress site has been successfully set up at: 
    326327 
    327328%1\$s 
    328329 
    329330You can log in to the administrator account with the following information: 
    330331 
     332Log in here: %4\$s 
    331333Username: %2\$s 
    332334Password: %3\$s 
    333335 
     
    335337 
    336338--The WordPress Team 
    337339http://wordpress.org/ 
    338 "), $blog_url, $name, $password); 
     340" ), $blog_url, $name, $password, $login_url ); 
    339341 
    340         @wp_mail($email, __('New WordPress Site'), $message); 
     342        @wp_mail( $email, __( 'New WordPress Site' ), $message ); 
    341343} 
    342344endif; 
    343345 
  • wp-admin/includes/schema.php

     
    873873BLOG_URL 
    874874 
    875875You can log in to the administrator account with the following information: 
     876 
     877Log in here: BLOG_URLwp-login.php 
    876878Username: USERNAME 
    877879Password: PASSWORD 
    878 Log in here: BLOG_URLwp-login.php 
    879880 
    880881We hope you enjoy your new site. Thanks! 
    881882