From 1fb676a13da63e14c91db97e4c7b2b65db493ed9 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 14 Feb 2005 01:57:48 +0000 Subject: [PATCH] Better pinging git-svn-id: https://develop.svn.wordpress.org/trunk@2312 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); }