mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-08 17:38:26 +01:00
Quote weblog title in email From header. Props graeme and Nazgul. fixes #1716
git-svn-id: http://svn.automattic.com/wordpress/trunk@4286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8567d57da9
commit
829a3570c4
@ -104,7 +104,7 @@ 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_headers = 'From: ' . $blog_title . ' <wordpress@' . $_SERVER['SERVER_NAME'] . '>';
|
||||
$message_headers = 'From: "' . $blog_title . '" <wordpress@' . $_SERVER['SERVER_NAME'] . '>';
|
||||
$message = sprintf(__("Your new WordPress blog has been successfully set up at:
|
||||
|
||||
%1\$s
|
||||
|
Loading…
Reference in New Issue
Block a user