mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix subscriptions mode status text when mode is 'disable_paypal_subscriptions'
This commit is contained in:
parent
aa2889472d
commit
d0877d9709
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ class StatusReportModule implements ModuleInterface {
|
|||
* @return string
|
||||
*/
|
||||
private function subscriptions_mode_text( bool $is_plugin_active, string $subscriptions_mode, array $field_settings ): string {
|
||||
if ( ! $is_plugin_active || ! $field_settings ) {
|
||||
if ( ! $is_plugin_active || ! $field_settings || $subscriptions_mode === 'disable_paypal_subscriptions' ) {
|
||||
return 'Disabled';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue