mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389.
See #36335. git-svn-id: https://develop.svn.wordpress.org/trunk@38470 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -211,6 +211,7 @@ function wp_mail( $to, $subject, $message, $headers = '', $attachments = array()
|
||||
// (Re)create it, if it's gone missing
|
||||
if ( ! ( $phpmailer instanceof PHPMailer ) ) {
|
||||
require_once ABSPATH . WPINC . '/class-phpmailer.php';
|
||||
require_once ABSPATH . WPINC . '/class-smtp.php';
|
||||
$phpmailer = new PHPMailer( true );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user