Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Mail: Don't set Sender field when setting From.
[38058] changed `wp_mail()` so that it used PHPMailer's `setFrom()` method rather than setting the From and FromName headers directly. See behavior of setting the `Sender` field. This causes `mail` to be called with the `-f` flag, which causes outgoing email to fail on some server environments. Props Clorith, iandunn, DrewAPicture. Fixes #37736. Built from https://develop.svn.wordpress.org/trunk@38286 git-svn-id: http://core.svn.wordpress.org/trunk@38227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information
Showing
with
2 additions
and 2 deletions.
- +1 −1 wp-includes/pluggable.php
- +1 −1 wp-includes/version.php
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -4,7 +4,7 @@ | ||
* | ||
* @global string $wp_version | ||
*/ | ||
$wp_version = '4.7-alpha-38286'; | ||
|
||
/** | ||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. | ||