Better pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3b25d5706b
commit
1fb676a13d
@ -598,7 +598,8 @@ function weblog_ping($server = '', $path = '') {
|
||||
|
||||
// when set to true, this outputs debug messages by itself
|
||||
$client->debug = false;
|
||||
$client->query('weblogUpdates.ping', get_settings('blogname'), get_settings('home'));
|
||||
$home = trailingslashit( get_option('home') );
|
||||
$client->query('weblogUpdates.ping', get_settings('blogname'), $home);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user