WordPress.org

Make WordPress Core

Ticket #37736: 37736.patch

File 37736.patch, 474 bytes (added by Clorith, 4 years ago)
  • src/wp-includes/pluggable.php

     
    349349         */
    350350        $from_name = apply_filters( 'wp_mail_from_name', $from_name );
    351351
    352         $phpmailer->setFrom( $from_email, $from_name );
     352        $phpmailer->setFrom( $from_email, $from_name, false );
    353353
    354354        // Set destination addresses
    355355        if ( !is_array( $to ) )