Skip to content

Commit

Permalink
Quit early start fresh check for block based themes
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieur-z committed Jun 21, 2024
1 parent 7411cf9 commit 750872a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/modules/custom-css/custom-css.php
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,10 @@ public static function jetpack_content_width( $content_width ) {
* @return boolean
*/
public static function is_start_fresh_option_enabled() {
if ( wp_is_block_theme() ) {
return false;
}

$start_fresh = null;

// $wp_customize is not available here. Let's get the value of the `replace` option from the last
Expand Down

0 comments on commit 750872a

Please sign in to comment.