Set the Sender on emails as well as from. Fixes #5007 for trunk props mattyrob
git-svn-id: http://svn.automattic.com/wordpress/trunk@6265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
875424adae
commit
9ef11d81bd
|
@ -223,6 +223,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