WordPress.org

Make WordPress Core

Ticket #5273: 5273.diff

File 5273.diff, 489 bytes (added by lloydbudd, 6 years ago)

Reverting #5007

  • wp-includes/pluggable.php

     
    238238 
    239239        // Set the from name and email 
    240240        $phpmailer->From = apply_filters( 'wp_mail_from', $from_email ); 
    241         $phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email ); 
    242241        $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name ); 
    243242 
    244243        // Set destination address