Make WordPress Core


Ignore:
Timestamp:
10/02/2014 01:27:57 AM (10 years ago)
Author:
wonderboymusic
Message:

In the wp_new_blog_notification() email template, include the login url.

Props obenland, georgestephanis.
Fixes #21089.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r29630 r29806  
    278278    $email = $user->user_email;
    279279    $name = $user->user_login;
    280     $message = sprintf(__("Your new WordPress site has been successfully set up at:
     280    $login_url = wp_login_url();
     281    $message = sprintf( __( "Your new WordPress site has been successfully set up at:
    281282
    282283%1\$s
     
    284285You can log in to the administrator account with the following information:
    285286
     287Log in here: %4\$s
    286288Username: %2\$s
    287289Password: %3\$s
     
    291293--The WordPress Team
    292294https://wordpress.org/
    293 "), $blog_url, $name, $password);
     295"), $blog_url, $name, $password, $login_url );
    294296
    295297    @wp_mail($email, __('New WordPress Site'), $message);
Note: See TracChangeset for help on using the changeset viewer.