diff --git a/includes/ComingSoon.php b/includes/ComingSoon.php index 906410a..05e591a 100644 --- a/includes/ComingSoon.php +++ b/includes/ComingSoon.php @@ -170,15 +170,12 @@ public function newfold_site_status( \WP_Admin_Bar $admin_bar ) { if ( current_user_can( 'manage_options' ) ) { $is_coming_soon = 'true' === get_option( 'nfd_coming_soon', 'false' ); - $current_state = $is_coming_soon ? 'true' : 'false'; + $current_state = $is_coming_soon ? true : false; $content = '