Skip to content

Commit 0204bef

Browse files
committed
Update StatusService.php
1 parent 1b17af0 commit 0204bef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

includes/Services/StatusService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public static function update_onboarding_restart_status(): void {
9393
// Get flow data
9494
$flow_data = get_option( Options::get_option_name( 'flow' ) );
9595
$active_flow = $flow_data['activeFlow'];
96+
$homepages = $flow_data['sitegen']['homepages'];
9697

9798
if ( isset( $flow_data['onboardingRetries'] ) && ! empty( $flow_data['onboardingRetries'] ) ) {
9899
// Increment the total onboarding tries
@@ -135,6 +136,7 @@ public static function update_onboarding_restart_status(): void {
135136
delete_option( Options::get_option_name( 'flow' ) );
136137
$flow_data_copy = Flows::get_data();
137138
$flow_data_copy['activeFlow'] = $active_flow;
139+
$flow_data_copy['sitegen']['homepages'] = $homepages;
138140
$flow_data_copy['onboardingRetries']['retryCount'] = $current_retry_count;
139141

140142
// Update the flow data with the incremented total onboarding tries count and add to db

0 commit comments

Comments
 (0)