Follow standards in Pingback - fixes #1668

git-svn-id: http://svn.automattic.com/wordpress/trunk@3078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2005-11-14 10:08:12 +00:00
parent 8f97312858
commit 682ad94a9f
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ function pingback($content, $post_ID) {
// when set to true, this outputs debug messages by itself // when set to true, this outputs debug messages by itself
$client->debug = false; $client->debug = false;
if ( $client->query('pingback.ping', array($pagelinkedfrom, $pagelinkedto) ) ) if ( $client->query('pingback.ping', $pagelinkedfrom, $pagelinkedto ) )
add_ping( $post_ID, $pagelinkedto ); add_ping( $post_ID, $pagelinkedto );
else else
debug_fwrite($log, "Error.\n Fault code: ".$client->getErrorCode()." : ".$client->getErrorMessage()."\n"); debug_fwrite($log, "Error.\n Fault code: ".$client->getErrorCode()." : ".$client->getErrorMessage()."\n");