Skip to content

Commit

Permalink
Remove LYS badge even when feature flag is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasfoo committed Sep 27, 2024
1 parent 8b47eb0 commit b88a4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-calypso-bridge-coming-soon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}
Expand Down

0 comments on commit b88a4ad

Please sign in to comment.