git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e706104b8b
commit
794f7cf7fe
@ -1636,6 +1636,7 @@ 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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user