Lint fixes.

This commit is contained in:
Chris Runnells 2023-10-24 13:37:23 -10:00
parent f802def6e2
commit 5dc432382c
1 changed files with 2 additions and 2 deletions

View File

@ -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;