🎨 Remove unnecessary condition

This commit is contained in:
Philipp Stracker 2024-06-12 15:47:31 +02:00
parent f3f6765ac3
commit 6ee4a40e18
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View file

@ -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(