From ab93cc71178b4e47103a26898de2b519b1a3cc96 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Thu, 25 May 2023 12:10:34 +0100 Subject: [PATCH] Update version logic to use isset() --- admin/create-theme/theme-styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/create-theme/theme-styles.php b/admin/create-theme/theme-styles.php index cea3e570..ed7c2cfc 100644 --- a/admin/create-theme/theme-styles.php +++ b/admin/create-theme/theme-styles.php @@ -67,7 +67,7 @@ public static function build_child_style_css( $theme ) { $version = '0.0.1'; $tags = Theme_Tags::theme_tags_list( $theme ); - if ( $theme['version'] ) { + if ( isset( $theme['version'] ) ) { $version = $theme['version']; }