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
This commit is contained in:
parent
0c3b3e5347
commit
03b04efa1c
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue