Make WordPress Core

Ticket #23642: wp_mail_return_false_on_failure.patch

File wp_mail_return_false_on_failure.patch, 378 bytes (added by chmac, 11 years ago)

Patch to fix

  • wp-includes/pluggable.php

     
    448448
    449449        // Send!
    450450        try {
    451                 $phpmailer->Send();
     451                return $phpmailer->Send();
    452452        } catch ( phpmailerException $e ) {
    453453                return false;
    454454        }
    455 
    456         return true;
    457455}
    458456endif;
    459457