Make WordPress Core

Ticket #27192: 27192.7.diff

File 27192.7.diff, 1.7 KB (added by jeremyfelt, 11 years ago)
  • src/wp-includes/ms-functions.php

     
    14681468
    14691469You can log in to the administrator account with the following information:
    14701470Username: USERNAME
    1471 Password: PASSWORD
     1471Temporary Password: PASSWORD
    14721472Log in here: BLOG_URLwp-login.php
    14731473
     1474Please change this temporary password when logging in for the first time.
     1475
    14741476We hope you enjoy your new site. Thanks!
    14751477
    14761478--The Team @ SITE_NAME' );
     
    21182120                remove_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
    21192121                $text = __( 'Dear User,
    21202122
    2121 Your new account is set up.
     2123Your new account has been successfully set up:
    21222124
    21232125You can log in with the following information:
    21242126Username: USERNAME
    2125 Password: PASSWORD
     2127Temporary Password: PASSWORD
    21262128LOGINLINK
    21272129
     2130Please change this temporary password when logging in for the first time.
     2131
    21282132Thanks!
    21292133
    21302134--The Team @ SITE_NAME' );
  • src/wp-includes/pluggable.php

     
    12991299                return;
    13001300
    13011301        $message  = sprintf(__('Username: %s'), $user->user_login) . "\r\n";
    1302         $message .= sprintf(__('Password: %s'), $plaintext_pass) . "\r\n";
     1302        $message .= sprintf(__('Temporary Password: %s'), $plaintext_pass) . "\r\n\r\n";
     1303        $message .= __( 'Please change this temporary password when logging in for the first time.' ) . "\r\n\r\n";
    13031304        $message .= wp_login_url() . "\r\n";
    13041305
    13051306        wp_mail($user->user_email, sprintf(__('[%s] Your username and password'), $blogname), $message);