Make WordPress Core

Ticket #1352: pluggable-functions.php.diff

File pluggable-functions.php.diff, 666 bytes (added by doey, 20 years ago)
Line 
1--- pluggable-functions.php.orig        2005-05-11 20:44:55.000000000 -0400
2+++ pluggable-functions.php     2005-05-11 20:45:02.000000000 -0400
3@@ -61,7 +61,7 @@
4function wp_mail($to, $subject, $message, $headers = '') {
5       if( $headers == '' ) {
6               $headers = "MIME-Version: 1.0\r\n" .
7-                       "From: " . get_settings('admin_email') . "\r\n" .
8+                       "From: " . get_settings('blogname') . "<" . get_settings('admin_email') . ">\r\n" .
9                       "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
10       }
11
12@@ -266,4 +266,4 @@
13}
14endif;
15
16-?>
17\ No newline at end of file
18+?>