Return post ID from generic_ping(). Bug 229.

git-svn-id: https://develop.svn.wordpress.org/trunk@1586 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-09-03 20:33:15 +00:00
parent 0ef4844be2
commit 40a13971f9
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');