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:
parent
7c72194c52
commit
3dbecf7853
|
@ -530,6 +530,8 @@ function generic_ping($post_id = 0) {
|
||||||
weblog_ping($uri['host'], $uri['path']);
|
weblog_ping($uri['host'], $uri['path']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $post_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_action('publish_post', 'generic_ping');
|
add_action('publish_post', 'generic_ping');
|
||||||
|
|
Loading…
Reference in New Issue