Also ping when going from private to published.
git-svn-id: https://develop.svn.wordpress.org/trunk@179 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
676d4da628
commit
32549bc276
@ -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
Block a user