Better pinging

git-svn-id: http://svn.automattic.com/wordpress/trunk@2312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-14 01:57:48 +00:00
parent 0cd0269cc8
commit 87917546b6
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);
}