mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Fix style merging
This commit is contained in:
parent
c48fc6c879
commit
3b33ffe903
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue