mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Better pinging
git-svn-id: http://svn.automattic.com/wordpress/trunk@2312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0cd0269cc8
commit
87917546b6
@ -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