mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Continue instead of exit
This commit is contained in:
parent
15a8a0d9d0
commit
42a6cb2b45
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class TaskRegistrar implements TaskRegistrarInterface {
|
|||
public function register( array $tasks ): void {
|
||||
foreach ( $tasks as $task ) {
|
||||
if ( $task instanceof SimpleRedirectTask && ! $task->is_enabled() ) {
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
$added_task = TaskLists::add_task( 'extended', $task );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue