File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Integrations/POSCatalog Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public function force_regeneration( ?array $args = null ): array {
187187
188188 // If there is no option, there is nothing to force.
189189 if ( false === $ status ) {
190- return $ this ->get_status ();
190+ return $ this ->get_status ( $ args );
191191 }
192192
193193 switch ( $ status ['state ' ] ?? '' ) {
@@ -203,7 +203,7 @@ public function force_regeneration( ?array $args = null ): array {
203203 // Delete the existing file, clear the option and let generation start again.
204204 wp_delete_file ( $ status ['path ' ] );
205205 delete_option ( $ option_key );
206- return $ this ->get_status ();
206+ return $ this ->get_status ( $ args );
207207
208208 default :
209209 throw new \Exception ( 'Unknown feed generation state. ' );
You can’t perform that action at this time.
0 commit comments