Ticket #5007: 5007.patch
File 5007.patch, 975 bytes (added by , 17 years ago) |
---|
-
wp-includes/pluggable.php
235 235 $sitename = substr( $sitename, 4 ); 236 236 } 237 237 238 $from_email = 'wordpress@' . $sitename;238 $from_email = get_option('admin_email'); 239 239 } 240 240 241 241 // Set the from name and email -
wp-admin/includes/upgrade.php
114 114 $user = new WP_User($user_id); 115 115 $email = $user->user_email; 116 116 $name = $user->user_login; 117 $message_headers = 'From: "' . $blog_title . '" < wordpress@' . $_SERVER['SERVER_NAME']. '>';117 $message_headers = 'From: "' . $blog_title . '" <'. get_option('admin_email') . '>'; 118 118 $message = sprintf(__("Your new WordPress blog has been successfully set up at: 119 119 120 120 %1\$s