Better pinging

git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-02-14 01:57:48 +00:00
parent 3b25d5706b
commit 1fb676a13d
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}