Persist font settings when cloning a theme (#678)

This commit is contained in:
Sarah Norris 2024-07-02 10:37:40 +01:00 committed by GitHub
parent 8fa60a58c5
commit 070c444448
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,