Ticket #5007: patch.diff

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

Patch

Line 
1Index: wp-includes/pluggable.php
2===================================================================
3--- wp-includes/pluggable.php   (revision 6159)
4+++ wp-includes/pluggable.php   (working copy)
5@@ -225,6 +225,7 @@
6 
7        // Set the from name and email
8        $phpmailer->From = apply_filters( 'wp_mail_from', $from_email );
9+       $phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email );
10        $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
11 
12        // Set destination address