Ticket #25253: pluggable.diff
File pluggable.diff, 502 bytes (added by , 9 years ago) |
---|
-
C:/_code/
old new 209 209 global $phpmailer; 210 210 211 211 // (Re)create it, if it's gone missing 212 if ( ! ( $phpmailer instanceof PHPMailer )) {212 if (!class_exists('PHPMailer')) { 213 213 require_once ABSPATH . WPINC . '/class-phpmailer.php'; 214 214 require_once ABSPATH . WPINC . '/class-smtp.php'; 215 } 216 if (!($phpmailer instanceof PHPMailer )) { 215 217 $phpmailer = new PHPMailer( true ); 216 218 } 217 219