diff --git a/includes/Events.php b/includes/Events.php index da3469e..56f40dc 100644 --- a/includes/Events.php +++ b/includes/Events.php @@ -29,7 +29,7 @@ final class Events { 'primary_type_set' => true, 'secondary_type_set' => true, 'theme_style_selected' => true, - 'typography_selected' => true, + 'fonts_selected' => true, 'header_selected' => true, 'homepage_layout_selected' => true, 'onboarding_top_priority_set' => true, diff --git a/includes/Flows/Upgrades/1.0.0.php b/includes/Flows/Upgrades/1.0.0.php index 0151165..2989dd1 100644 --- a/includes/Flows/Upgrades/1.0.0.php +++ b/includes/Flows/Upgrades/1.0.0.php @@ -12,8 +12,8 @@ if ( ! empty( $flow_data['data']['palette']['slug'] ) ) { $flow_data['data']['colorStyle'] = $flow_data['data']['palette']['slug']; } - if ( ! empty( $flow_data['data']['typography']['slug'] ) ) { - $flow_data['data']['fontStyle'] = $flow_data['data']['typography']['slug']; + if ( ! empty( $flow_data['data']['fonts']['slug'] ) ) { + $flow_data['data']['fontStyle'] = $flow_data['data']['fonts']['slug']; } \update_option( Options::get_option_name( 'flow' ), $flow_data ); }