Follow standards in Pingback - fixes #1668

git-svn-id: https://develop.svn.wordpress.org/trunk@3078 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-11-14 10:08:12 +00:00
parent 4c8b6b1197
commit dbada5cd7e

View File

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