From 5dc432382c82aede2ad21ef4769cc79884ccd278 Mon Sep 17 00:00:00 2001 From: Chris Runnells Date: Tue, 24 Oct 2023 13:37:23 -1000 Subject: [PATCH] Lint fixes. --- plugins/woocommerce/src/Admin/API/OnboardingThemes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce/src/Admin/API/OnboardingThemes.php b/plugins/woocommerce/src/Admin/API/OnboardingThemes.php index 05b1e800658..9d84c132177 100644 --- a/plugins/woocommerce/src/Admin/API/OnboardingThemes.php +++ b/plugins/woocommerce/src/Admin/API/OnboardingThemes.php @@ -384,8 +384,8 @@ class OnboardingThemes extends \WC_REST_Data_Controller { */ $active_theme = get_stylesheet(); - foreach ( $filtered_response['themes'] as &$theme ){ - if ( $theme['slug'] == $active_theme ){ + foreach ( $filtered_response['themes'] as &$theme ) { + if ( $theme['slug'] === $active_theme ) { $theme['is_active'] = true; } else { $theme['is_active'] = false;