Extended ping support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6784ed04bd
commit
96b0ea4c10
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue