From 03b04efa1c602885c758ba1ae173817fc57382d4 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 19 Apr 2005 03:10:12 +0000 Subject: [PATCH] Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254 git-svn-id: http://svn.automattic.com/wordpress/trunk@2545 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/comment-functions.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index c5d02717fe..e46d41fba9 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -467,7 +467,6 @@ function pingback($content, $post_ID) { // when set to true, this outputs debug messages by itself $client->debug = false; - $client->query('pingback.ping', array($pagelinkedfrom, $pagelinkedto)); if ( !$client->query('pingback.ping', array($pagelinkedfrom, $pagelinkedto) ) ) debug_fwrite($log, "Error.\n Fault code: ".$client->getErrorCode()." : ".$client->getErrorMessage()."\n");