Fix onboarding payments task not completed after setting up WooPayments (#39786)

* Remove is_connected condition from can_view

To display WooPayments task as completed if applicable rather than an uncompleted payments task.

* Add changelog entry
This commit is contained in:
Ismael Martín Alabarce 2023-08-21 12:55:49 +02:00 committed by GitHub
parent bc5c355eb7
commit 1227a27458
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Onboarding payments task not completed after setting up WooPayments

View File

@ -109,8 +109,7 @@ class WooCommercePayments extends Task {
return ! $payments->is_complete() && // Do not re-display the task if the "add payments" task has already been completed.
self::is_installed() &&
self::is_supported() &&
! self::is_connected();
self::is_supported();
}
/**