mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Initialise $_SERVER['SERVER_NAME'] during the test bootstrap to avoid individual tests having to do it.
Fixes #34394 git-svn-id: https://develop.svn.wordpress.org/trunk@35350 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -72,7 +72,6 @@ $message = "My RFC822 Test Message";
|
||||
$headers[] = "From: {$from}";
|
||||
$headers[] = "CC: {$cc}";
|
||||
|
||||
$_SERVER['SERVER_NAME'] = 'example.com';
|
||||
wp_mail( $to, $subject, $message, $headers );
|
||||
|
||||
$headers = array();
|
||||
|
||||
Reference in New Issue
Block a user