diff --git a/includes/Services/SiteGenService.php b/includes/Services/SiteGenService.php index 9638962..ac9371f 100644 --- a/includes/Services/SiteGenService.php +++ b/includes/Services/SiteGenService.php @@ -1158,6 +1158,12 @@ public static function sync_flow_data( $updated_data ) { FlowService::update_data_in_wp_option( $data ); } + /** + * Reset the error status in the flow data. + * + * @param array $data The flow data. + * @return array + */ public static function reset_error_status( $data ) { if ( isset( $data['sitegen']['siteGenErrorStatus'] ) && true === $data['sitegen']['siteGenErrorStatus'] ) { $data['sitegen']['siteGenErrorStatus'] = false;