From 4b4315310eff1c7910a6ae0d36472d32c544b9c5 Mon Sep 17 00:00:00 2001 From: mikelittle Date: Fri, 6 Jun 2003 23:45:50 +0000 Subject: [PATCH] Also ping when going from private to published. git-svn-id: http://svn.automattic.com/wordpress/trunk@179 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/b2edit.php b/wp-admin/b2edit.php index 4e071a6c64..aafcd9cfb2 100644 --- a/wp-admin/b2edit.php +++ b/wp-admin/b2edit.php @@ -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);