Make sure $_SERVER['SERVER_NAME'] is set whenever wp_mail() is called in PHPUnit tests.

This eliminates PHP notices when `wp_mail()` needs to determine its own From header.

See [25381] for a previous fix, which focused only on the mail-specific tests.

Fixes #32702.
Built from https://develop.svn.wordpress.org/trunk@32839


git-svn-id: http://core.svn.wordpress.org/trunk@32810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-06-18 13:53:25 +00:00
parent 2e5e0bdc78
commit 92123c15bf

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32838';
$wp_version = '4.3-alpha-32839';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.