diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 35f12fbad..224f21f27 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');