From f199d3658a147b97aff1ab4318a089457b0e326d Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 26 Feb 2007 03:42:25 +0000 Subject: [PATCH] Remove debug. git-svn-id: http://svn.automattic.com/wordpress/trunk@4947 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 21bb47d3a6..dac196c245 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -157,7 +157,7 @@ endif; if ( !function_exists('wp_mail') ) : function wp_mail($to, $subject, $message, $headers = '') { global $phpmailer; - error_log("mailing $subject\n", 0); + if ( !is_object( $phpmailer ) ) { require_once(ABSPATH . WPINC . '/class-phpmailer.php'); require_once(ABSPATH . WPINC . '/class-smtp.php'); @@ -213,7 +213,7 @@ function wp_mail($to, $subject, $message, $headers = '') { } $result = @$phpmailer->Send(); - error_log("mailing result $result\n", 0); + return $result; } endif;