WordPress.org

Make WordPress Core

Ticket #5007: patch.diff

File patch.diff, 489 bytes (added by mattyrob, 7 years ago)

Patch

  • wp-includes/pluggable.php

     
    225225 
    226226        // Set the from name and email 
    227227        $phpmailer->From = apply_filters( 'wp_mail_from', $from_email ); 
     228        $phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email ); 
    228229        $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name ); 
    229230 
    230231        // Set destination address