Ticket #2053: 2053.diff
| File 2053.diff, 0.6 kB (added by rob1n, 1 year ago) |
|---|
-
wp-includes/pluggable.php
old new 170 170 171 171 if ( $headers == '' ) { 172 172 $headers = "MIME-Version: 1.0\n" . 173 "From: wordpress@" . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME'])) . "\n" .173 "From: " . apply_filters('wp_mail_from', "wordpress@" . preg_replace('#^www\.#', '', strtolower($_SERVER['SERVER_NAME']))) . "\n" . 174 174 "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n"; 175 175 } 176 176
