Mail: In PHPMailer 5.2.7 the case of the `Send()` method changed to `send()`, update our call for consistency with the library.
Props michalzuber. Fixes #39469. Built from https://develop.svn.wordpress.org/trunk@39691 git-svn-id: http://core.svn.wordpress.org/trunk@39631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8912d6b134
commit
577a192ebd
|
@ -478,7 +478,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
|
||||||
|
|
||||||
// Send!
|
// Send!
|
||||||
try {
|
try {
|
||||||
return $phpmailer->Send();
|
return $phpmailer->send();
|
||||||
} catch ( phpmailerException $e ) {
|
} catch ( phpmailerException $e ) {
|
||||||
|
|
||||||
$mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
|
$mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.8-alpha-39689';
|
$wp_version = '4.8-alpha-39691';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue