Skip to content

Commit a6a63bd

Browse files
committed
with loggin
1 parent cff5364 commit a6a63bd

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

admin/class-nginx-helper-admin.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -675,11 +675,10 @@ public function set_future_post_option_on_future_status( $new_status, $old_statu
675675

676676
if ( in_array( $post_type, $exclude_post_types, true ) ) {
677677
if ( 'nav_menu_item' !== $post_type ) {
678-
$nginx_purger->log( '* * * * *' );
679-
$nginx_purger->log('* Post Type update - ' . $post_type . ' - purge trigger excluded...');
680-
$nginx_purger->log('* Filter: -> rt_nginx_helper_exclude_post_types');
681-
$nginx_purger->log( '* * * * *' );
682-
}
678+
$nginx_purger->log('* * * * *');
679+
$nginx_purger->log('* Post Type update - ' . $post_type . ' - purge trigger excluded...');
680+
$nginx_purger->log('* Filter: -> rt_nginx_helper_exclude_post_types');
681+
}
683682
return;
684683
}
685684

0 commit comments

Comments
 (0)