mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user