File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,11 @@ public static function update_onboarding_restart_status() {
101
101
update_option ( Options::get_option_name ( 'flow ' ), $ flow_data );
102
102
103
103
// Determine eligibility for restarting onboarding
104
- $ currentRetryCount = $ flow_data ['onboardingRetries ' ]['retryCount ' ];
105
- $ canRestart = $ currentRetryCount < $ flow_data ['onboardingRetries ' ]['maxRetryCount ' ];
104
+ $ current_retry_count = $ flow_data ['onboardingRetries ' ]['retryCount ' ];
105
+ $ can_restart = $ current_retry_count < $ flow_data ['onboardingRetries ' ]['maxRetryCount ' ];
106
106
107
107
// Update the eligibility status in wp_option
108
- update_option ( Options::get_option_name ( 'can_restart ' ), $ canRestart );
108
+ update_option ( Options::get_option_name ( 'can_restart ' ), $ can_restart );
109
109
}
110
110
}
111
111
Original file line number Diff line number Diff line change @@ -291,4 +291,5 @@ public static function can_restart_onboarding() {
291
291
\wp_enqueue_style ( 'onboarding-restart-button ' );
292
292
}
293
293
294
- } // END /NewfoldLabs/WP/Module/Onboarding/Admin()
294
+ }
295
+ // END /NewfoldLabs/WP/Module/Onboarding/Admin()
You can’t perform that action at this time.
0 commit comments