From 070c4444482ca94e976fc450a0dba4cd73e1f9ce Mon Sep 17 00:00:00 2001 From: Sarah Norris <1645628+mikachan@users.noreply.github.com> Date: Tue, 2 Jul 2024 10:37:40 +0100 Subject: [PATCH] Persist font settings when cloning a theme (#678) --- 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 2629d43..c32f1a8 100644 --- a/includes/create-theme/theme-create.php +++ b/includes/create-theme/theme-create.php @@ -25,6 +25,9 @@ class CBT_Theme_Create { 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,