From 9843451d11cbc6aa3f92f60514fa44f5cffb0c2d Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 22 Apr 2005 21:17:10 +0000 Subject: [PATCH] Extended ping support git-svn-id: https://develop.svn.wordpress.org/trunk@2572 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d2459fb81e..b240deabfc 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -650,7 +650,8 @@ function weblog_ping($server = '', $path = '') { // when set to true, this outputs debug messages by itself $client->debug = false; $home = trailingslashit( get_option('home') ); - $client->query('weblogUpdates.ping', get_settings('blogname'), $home); + if ( !$client->query('weblogUpdates.extendedPing', get_settings('blogname'), $home, get_bloginfo('rss2_url') ) ) // then try a normal ping + $client->query('weblogUpdates.ping', get_settings('blogname'), $home); } function generic_ping($post_id = 0) {