diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 3d1e1be22..f932b5552 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -594,7 +594,7 @@ function weblog_ping($server = '', $path = '') { $result['message'] = $result['message'] . "-->\n"; } - print '
' . $result['message'] . '
'; + if ($debug) print '
' . $result['message'] . '
'; } function generic_ping($post_id = 0) {