In the wp_new_blog_notification()
email template, include the login url.
Props obenland, georgestephanis. Fixes #21089. git-svn-id: https://develop.svn.wordpress.org/trunk@29806 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6dc662431a
commit
3a11531451
@ -915,9 +915,10 @@ Your new SITE_NAME site has been successfully set up at:
|
||||
BLOG_URL
|
||||
|
||||
You can log in to the administrator account with the following information:
|
||||
|
||||
Log in here: BLOG_URLwp-login.php
|
||||
Username: USERNAME
|
||||
Password: PASSWORD
|
||||
Log in here: BLOG_URLwp-login.php
|
||||
|
||||
We hope you enjoy your new site. Thanks!
|
||||
|
||||
|
@ -277,12 +277,14 @@ function wp_new_blog_notification($blog_title, $blog_url, $user_id, $password) {
|
||||
$user = new WP_User( $user_id );
|
||||
$email = $user->user_email;
|
||||
$name = $user->user_login;
|
||||
$message = sprintf(__("Your new WordPress site has been successfully set up at:
|
||||
$login_url = wp_login_url();
|
||||
$message = sprintf( __( "Your new WordPress site has been successfully set up at:
|
||||
|
||||
%1\$s
|
||||
|
||||
You can log in to the administrator account with the following information:
|
||||
|
||||
Log in here: %4\$s
|
||||
Username: %2\$s
|
||||
Password: %3\$s
|
||||
|
||||
@ -290,7 +292,7 @@ We hope you enjoy your new site. Thanks!
|
||||
|
||||
--The WordPress Team
|
||||
https://wordpress.org/
|
||||
"), $blog_url, $name, $password);
|
||||
"), $blog_url, $name, $password, $login_url );
|
||||
|
||||
@wp_mail($email, __('New WordPress Site'), $message);
|
||||
}
|
||||
|
@ -1469,9 +1469,10 @@ Your new SITE_NAME site has been successfully set up at:
|
||||
BLOG_URL
|
||||
|
||||
You can log in to the administrator account with the following information:
|
||||
|
||||
Log in here: BLOG_URLwp-login.php
|
||||
Username: USERNAME
|
||||
Password: PASSWORD
|
||||
Log in here: BLOG_URLwp-login.php
|
||||
|
||||
We hope you enjoy your new site. Thanks!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user