From 3dbecf7853735ff98cf92e338160811f1fb48979 Mon Sep 17 00:00:00 2001 From: rboren Date: Fri, 3 Sep 2004 20:33:15 +0000 Subject: [PATCH] Return post ID from generic_ping(). Bug 229. git-svn-id: http://svn.automattic.com/wordpress/trunk@1586 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 35f12fbad3..224f21f271 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -530,6 +530,8 @@ function generic_ping($post_id = 0) { weblog_ping($uri['host'], $uri['path']); } } + + return $post_id; } add_action('publish_post', 'generic_ping');