From dbada5cd7ee1de04f7ae4e02891d1f0c69d8d516 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 14 Nov 2005 10:08:12 +0000 Subject: [PATCH] Follow standards in Pingback - fixes #1668 git-svn-id: https://develop.svn.wordpress.org/trunk@3078 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index 76d3e42772..566d8efe6e 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -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");