diff --git a/modules/ppcp-button/src/Assets/SmartButton.php b/modules/ppcp-button/src/Assets/SmartButton.php index 364189417..b69417a03 100644 --- a/modules/ppcp-button/src/Assets/SmartButton.php +++ b/modules/ppcp-button/src/Assets/SmartButton.php @@ -912,10 +912,10 @@ class SmartButton implements SmartButtonInterface { ); if ( $this->style_for_context( 'layout', 'mini-cart' ) !== 'horizontal' ) { - unset( $localize['button']['mini_cart_style']['tagline'] ); + $localize['button']['mini_cart_style']['tagline'] = false; } if ( $this->style_for_context( 'layout', $this->context() ) !== 'horizontal' ) { - unset( $localize['button']['style']['tagline'] ); + $localize['button']['style']['tagline'] = false; } $this->request_data->dequeue_nonce_fix();