From 87917546b6755a0bef2033c92efc93acb67699c2 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Mon, 14 Feb 2005 01:57:48 +0000 Subject: [PATCH] Better pinging git-svn-id: http://svn.automattic.com/wordpress/trunk@2312 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 70c4e8bd7a..a448e0eb4a 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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); }