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
This commit is contained in:
Peter Westwood 2008-01-11 18:44:44 +00:00
parent f1d41cb830
commit 98055b2cc0
1 changed files with 0 additions and 1 deletions

View File

@ -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