Changeset 2607 for trunk/wp-includes/pluggable-functions.php
- Timestamp:
- 05/14/2005 12:22:30 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable-functions.php
r2556 r2607 61 61 function wp_mail($to, $subject, $message, $headers = '') { 62 62 if( $headers == '' ) { 63 $headers = "MIME-Version: 1.0\ r\n" .64 "From: " . get_settings('admin_email') . "\ r\n" .65 "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\ r\n";63 $headers = "MIME-Version: 1.0\n" . 64 "From: " . get_settings('admin_email') . "\n" . 65 "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n"; 66 66 } 67 67 … … 217 217 } 218 218 219 $message_headers = "MIME-Version: 1.0\ r\n"220 . "$from\ r\n"221 . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\ r\n";219 $message_headers = "MIME-Version: 1.0\n" 220 . "$from\n" 221 . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n"; 222 222 223 223 @wp_mail($user->user_email, $subject, $notify_message, $message_headers);
Note: See TracChangeset
for help on using the changeset viewer.