From 98055b2cc084b3b47d0438fd087d677227892a7b Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Fri, 11 Jan 2008 18:44:44 +0000 Subject: [PATCH] Revert #5007 as it causes more trouble than it solves. Fixes #5273 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@6599 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/pluggable.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 6751f4b8e9..5b69b7eb09 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -238,7 +238,6 @@ 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