mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254
git-svn-id: https://develop.svn.wordpress.org/trunk@2545 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f7c0f0c76c
commit
e9d456ef46
@ -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
Block a user