Remove some calls to the old ping functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b087596102
commit
ce32eb01ba
|
@ -373,8 +373,6 @@ switch($action) {
|
||||||
|
|
||||||
// are we going from draft/private to published?
|
// are we going from draft/private to published?
|
||||||
if ((($prev_status == 'draft') || ($prev_status == 'private')) && ($post_status == 'publish')) {
|
if ((($prev_status == 'draft') || ($prev_status == 'private')) && ($post_status == 'publish')) {
|
||||||
pingWeblogs($blog_ID);
|
|
||||||
pingBlogs($blog_ID);
|
|
||||||
} // end if moving from draft/private to published
|
} // end if moving from draft/private to published
|
||||||
if ($post_status == 'publish') {
|
if ($post_status == 'publish') {
|
||||||
do_action('publish_post', $post_ID);
|
do_action('publish_post', $post_ID);
|
||||||
|
|
|
@ -243,8 +243,6 @@ for ($iCount=1; $iCount<=$Count; $iCount++) {
|
||||||
pingGeoUrl($post_ID);
|
pingGeoUrl($post_ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
pingWeblogs($blog_ID);
|
|
||||||
pingBlogs($blog_ID);
|
|
||||||
pingback($content, $post_ID);
|
pingback($content, $post_ID);
|
||||||
}
|
}
|
||||||
echo "\n<p><b>Posted title:</b> $post_title<br />";
|
echo "\n<p><b>Posted title:</b> $post_title<br />";
|
||||||
|
|
Loading…
Reference in New Issue