Lint fixes.
This commit is contained in:
parent
f802def6e2
commit
5dc432382c
|
@ -384,8 +384,8 @@ class OnboardingThemes extends \WC_REST_Data_Controller {
|
||||||
*/
|
*/
|
||||||
$active_theme = get_stylesheet();
|
$active_theme = get_stylesheet();
|
||||||
|
|
||||||
foreach ( $filtered_response['themes'] as &$theme ){
|
foreach ( $filtered_response['themes'] as &$theme ) {
|
||||||
if ( $theme['slug'] == $active_theme ){
|
if ( $theme['slug'] === $active_theme ) {
|
||||||
$theme['is_active'] = true;
|
$theme['is_active'] = true;
|
||||||
} else {
|
} else {
|
||||||
$theme['is_active'] = false;
|
$theme['is_active'] = false;
|
||||||
|
|
Loading…
Reference in New Issue