mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
🎨 Remove unnecessary condition
This commit is contained in:
parent
f3f6765ac3
commit
6ee4a40e18
2 changed files with 3 additions and 4 deletions
|
@ -422,7 +422,7 @@ class Button implements ButtonInterface {
|
|||
|
||||
return array(
|
||||
'environment' => $this->environment->current_environment_is( Environment::SANDBOX ) ? 'TEST' : 'PRODUCTION',
|
||||
'is_debug' => defined( 'WP_DEBUG' ) && WP_DEBUG ? true : false,
|
||||
'is_debug' => defined( 'WP_DEBUG' ) && WP_DEBUG,
|
||||
'is_enabled' => $is_enabled,
|
||||
'sdk_url' => $this->sdk_url,
|
||||
'button' => array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue