git-svn-id: https://develop.svn.wordpress.org/trunk@2415 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-03-07 06:48:57 +00:00
parent e706104b8b
commit 794f7cf7fe
1 changed files with 1 additions and 0 deletions

View File

@ -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";
}