git-svn-id: http://svn.automattic.com/wordpress/trunk@2415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
563e4e9ff9
commit
5d148a8d1b
|
@ -1636,6 +1636,7 @@ function htmlentities2($myHTML) {
|
||||||
function wp_mail($to, $subject, $message, $headers = '') {
|
function wp_mail($to, $subject, $message, $headers = '') {
|
||||||
if( $headers == '' ) {
|
if( $headers == '' ) {
|
||||||
$headers = "MIME-Version: 1.0\n" .
|
$headers = "MIME-Version: 1.0\n" .
|
||||||
|
"From: " . get_settings('admin_email') . "\n" .
|
||||||
"Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
|
"Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue