WordPress.org

Make WordPress Core

Changeset 29806


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

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

Props obenland, georgestephanis.
Fixes #21089.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r29206 r29806  
    916916
    917917You can log in to the administrator account with the following information:
     918
     919Log in here: BLOG_URLwp-login.php
    918920Username: USERNAME
    919921Password: PASSWORD
    920 Log in here: BLOG_URLwp-login.php
    921922
    922923We hope you enjoy your new site. Thanks!
  • 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);
  • trunk/src/wp-includes/ms-functions.php

    r29718 r29806  
    14701470
    14711471You can log in to the administrator account with the following information:
     1472
     1473Log in here: BLOG_URLwp-login.php
    14721474Username: USERNAME
    14731475Password: PASSWORD
    1474 Log in here: BLOG_URLwp-login.php
    14751476
    14761477We hope you enjoy your new site. Thanks!
Note: See TracChangeset for help on using the changeset viewer.