Return post ID from generic_ping(). Bug 229.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-09-03 20:33:15 +00:00
parent 7c72194c52
commit 3dbecf7853
1 changed files with 2 additions and 0 deletions

View File

@ -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');