From b88a4adf059ec2483cb548dfce3f77acf44b3364 Mon Sep 17 00:00:00 2001 From: Ilyas Foo Date: Fri, 27 Sep 2024 09:06:30 +0800 Subject: [PATCH] Remove LYS badge even when feature flag is disabled --- includes/class-wc-calypso-bridge-coming-soon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-calypso-bridge-coming-soon.php b/includes/class-wc-calypso-bridge-coming-soon.php index 97d04717..9fc39190 100644 --- a/includes/class-wc-calypso-bridge-coming-soon.php +++ b/includes/class-wc-calypso-bridge-coming-soon.php @@ -209,7 +209,7 @@ function () use ( $message, $notice_type ) { * @return void */ public function remove_site_visibility_badge( $wp_admin_bar ) { - if ( $wp_admin_bar && $this->is_feature_enabled() ) { + if ( $wp_admin_bar ) { $wp_admin_bar->remove_node( 'woocommerce-site-visibility-badge' ); } }