From 577a192ebdea7a9ebefa992452650897448629a2 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Thu, 5 Jan 2017 08:10:42 +0000 Subject: [PATCH] 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 --- wp-includes/pluggable.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index aa9b1adf47..3e6fbe14d6 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -478,7 +478,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() // Send! try { - return $phpmailer->Send(); + return $phpmailer->send(); } catch ( phpmailerException $e ) { $mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b82e8165f9..cc8c8c2d6b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.