mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: https://develop.svn.wordpress.org/trunk@2477 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1653,9 +1653,9 @@ function htmlentities2($myHTML) {
|
||||
|
||||
function wp_mail($to, $subject, $message, $headers = '') {
|
||||
if( $headers == '' ) {
|
||||
$headers = "MIME-Version: 1.0\n" .
|
||||
"From: " . get_settings('admin_email') . "\n" .
|
||||
"Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
|
||||
$headers = "MIME-Version: 1.0\r\n" .
|
||||
"From: " . get_settings('admin_email') . "\r\n" .
|
||||
"Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
|
||||
}
|
||||
|
||||
return @mail($to, $subject, $message, $headers);
|
||||
|
||||
Reference in New Issue
Block a user