Make WordPress Core


Ignore:
Timestamp:
03/25/2005 09:41:45 PM (19 years ago)
Author:
ryan
Message:

Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2457 r2477  
    16541654function wp_mail($to, $subject, $message, $headers = '') {
    16551655    if( $headers == '' ) {
    1656         $headers = "MIME-Version: 1.0\n" .
    1657         "From: " . get_settings('admin_email') . "\n" .
    1658         "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
     1656        $headers = "MIME-Version: 1.0\r\n" .
     1657        "From: " . get_settings('admin_email') . "\r\n" .
     1658        "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
    16591659    }
    16601660
Note: See TracChangeset for help on using the changeset viewer.