Make WordPress Core


Ignore:
Timestamp:
06/26/2007 07:11:23 PM (17 years ago)
Author:
markjaquith
Message:

Don't add MIME-Version header twice (PHPMailer already adds it). see #4296

File:
1 edited

Legend:

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

    r5762 r5763  
    171171    extract( apply_filters( 'wp_mail', compact( 'to', 'subject', 'message', 'headers' ) ), EXTR_SKIP );
    172172
    173     // Default headers
     173    // Headers
    174174    if ( empty( $headers ) ) {
    175         $headers = array(
    176             'MIME-Version' => '1.0'
    177         );
     175        $headers = array();
    178176    } elseif ( !is_array( $headers ) ) {
    179177        // Explode the headers out, so this function can take both
Note: See TracChangeset for help on using the changeset viewer.