From b1f9a24efd74e9340ab7f2375f0a712af3e234e5 Mon Sep 17 00:00:00 2001 From: Sarah Norris Date: Mon, 1 Jul 2024 16:59:33 +0100 Subject: [PATCH] Add persist_font_settings() call to clone_current_theme() --- includes/create-theme/theme-create.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/create-theme/theme-create.php b/includes/create-theme/theme-create.php index 2629d434..c32f1a8f 100644 --- a/includes/create-theme/theme-create.php +++ b/includes/create-theme/theme-create.php @@ -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,