Also ping when going from private to published.
git-svn-id: http://svn.automattic.com/wordpress/trunk@179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8bf3591d67
commit
4b4315310e
|
@ -204,8 +204,8 @@ switch($action) {
|
|||
sleep($sleep_after_edit);
|
||||
}
|
||||
|
||||
// are we going from unpublished to publishd?
|
||||
if (($prev_status == 'draft') && ($post_status == 'publish')) {
|
||||
// are we going from draft/private to publishd?
|
||||
if ((($prev_status == 'draft') || ($prev_status == 'private')) && ($post_status == 'publish')) {
|
||||
pingWeblogs($blog_ID);
|
||||
pingCafelog($cafelogID, $post_title, $post_ID);
|
||||
pingBlogs($blog_ID);
|
||||
|
|
Loading…
Reference in New Issue