Skip to content

Commit

Permalink
Persist font settings when cloning a theme (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan authored Jul 2, 2024
1 parent 8fa60a5 commit 070c444
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/create-theme/theme-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public static function clone_current_theme( $theme ) {

wp_mkdir_p( $new_theme_path );

// Persist font settings for cloned theme.
CBT_Theme_Fonts::persist_font_settings();

// Copy theme files.
$template_options = array(
'localizeText' => false,
Expand Down

0 comments on commit 070c444

Please sign in to comment.