Skip to content

Commit

Permalink
Update includes/create-theme/theme-styles.php
Browse files Browse the repository at this point in the history
Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com>
  • Loading branch information
jffng and creativecoder authored Sep 11, 2024
1 parent 09e3679 commit 08aa63e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/create-theme/theme-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public static function update_style_css( $style_css, $theme ) {
$author = stripslashes( $theme['author'] );
$author_uri = $theme['author_uri'];
$wp_version = CBT_Theme_Utils::get_current_wordpress_version();
$wp_min = $theme['requires_wp'];
$wp_min = $wp_min ? $wp_min : '6.0';
$wp_min = isset( $theme['requires_wp'] ) && $theme['requires_wp'] ? $theme['requires_wp'] : '6.0';
$version = $theme['version'];
$requires_php = $current_theme->get( 'RequiresPHP' );
$text_domain = $theme['slug'];
Expand Down

0 comments on commit 08aa63e

Please sign in to comment.