Remove debug.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7effafd4ee
commit
f199d3658a
|
@ -157,7 +157,7 @@ endif;
|
||||||
if ( !function_exists('wp_mail') ) :
|
if ( !function_exists('wp_mail') ) :
|
||||||
function wp_mail($to, $subject, $message, $headers = '') {
|
function wp_mail($to, $subject, $message, $headers = '') {
|
||||||
global $phpmailer;
|
global $phpmailer;
|
||||||
error_log("mailing $subject\n", 0);
|
|
||||||
if ( !is_object( $phpmailer ) ) {
|
if ( !is_object( $phpmailer ) ) {
|
||||||
require_once(ABSPATH . WPINC . '/class-phpmailer.php');
|
require_once(ABSPATH . WPINC . '/class-phpmailer.php');
|
||||||
require_once(ABSPATH . WPINC . '/class-smtp.php');
|
require_once(ABSPATH . WPINC . '/class-smtp.php');
|
||||||
|
@ -213,7 +213,7 @@ function wp_mail($to, $subject, $message, $headers = '') {
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = @$phpmailer->Send();
|
$result = @$phpmailer->Send();
|
||||||
error_log("mailing result $result\n", 0);
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
endif;
|
endif;
|
||||||
|
|
Loading…
Reference in New Issue