diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 76ebd21109..9e7ea94ac6 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -448,12 +448,10 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() // Send! try { - $phpmailer->Send(); + return $phpmailer->Send(); } catch ( phpmailerException $e ) { return false; } - - return true; } endif;