From 40a13971f9d7fbe8e0c5dc4916c636d3d607c487 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 3 Sep 2004 20:33:15 +0000 Subject: [PATCH] Return post ID from generic_ping(). Bug 229. git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82 --- 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');