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:
parent
bc5c355eb7
commit
1227a27458
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Onboarding payments task not completed after setting up WooPayments
|
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue