]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/pluggable.php
WordPress 4.6.3-scripts
[autoinstalls/wordpress.git] / wp-includes / pluggable.php
index 511e6acac6ceb19514c82ab878f59fcc893743c7..5c7747774b2d6e519bd2ad07bf445b67b49c438f 100644 (file)
@@ -349,7 +349,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
         */
        $from_name = apply_filters( 'wp_mail_from_name', $from_name );
 
-       $phpmailer->setFrom( $from_email, $from_name );
+       $phpmailer->setFrom( $from_email, $from_name, false );
 
        // Set destination addresses
        if ( !is_array( $to ) )