File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ public static function update_onboarding_restart_status(): void {
93
93
// Get flow data
94
94
$ flow_data = get_option ( Options::get_option_name ( 'flow ' ) );
95
95
$ active_flow = $ flow_data ['activeFlow ' ];
96
+ $ homepages = $ flow_data ['sitegen ' ]['homepages ' ];
96
97
97
98
if ( isset ( $ flow_data ['onboardingRetries ' ] ) && ! empty ( $ flow_data ['onboardingRetries ' ] ) ) {
98
99
// Increment the total onboarding tries
@@ -135,6 +136,7 @@ public static function update_onboarding_restart_status(): void {
135
136
delete_option ( Options::get_option_name ( 'flow ' ) );
136
137
$ flow_data_copy = Flows::get_data ();
137
138
$ flow_data_copy ['activeFlow ' ] = $ active_flow ;
139
+ $ flow_data_copy ['sitegen ' ]['homepages ' ] = $ homepages ;
138
140
$ flow_data_copy ['onboardingRetries ' ]['retryCount ' ] = $ current_retry_count ;
139
141
140
142
// Update the flow data with the incremented total onboarding tries count and add to db
You can’t perform that action at this time.
0 commit comments