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:
parent
0ef4844be2
commit
40a13971f9
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user