Set the Sender on emails as well as from. Fixes #5007 for 2.3.1 props mattyrob
git-svn-id: http://svn.automattic.com/wordpress/branches/2.3@6266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30110216f2
commit
9eec531922
|
@ -225,6 +225,7 @@ function wp_mail( $to, $subject, $message, $headers = '' ) {
|
|||
|
||||
// Set the from name and email
|
||||
$phpmailer->From = apply_filters( 'wp_mail_from', $from_email );
|
||||
$phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email );
|
||||
$phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name );
|
||||
|
||||
// Set destination address
|
||||
|
|
Loading…
Reference in New Issue