Ticket #23642: wp_mail_return_false_on_failure.patch
File wp_mail_return_false_on_failure.patch, 378 bytes (added by , 12 years ago) |
---|
-
wp-includes/pluggable.php
448 448 449 449 // Send! 450 450 try { 451 $phpmailer->Send();451 return $phpmailer->Send(); 452 452 } catch ( phpmailerException $e ) { 453 453 return false; 454 454 } 455 456 return true;457 455 } 458 456 endif; 459 457