formatting labels array in smart button asset

This commit is contained in:
David Remer 2020-07-28 08:09:33 +03:00
parent 1ea7d9968a
commit 5cd1de2446

View file

@ -354,9 +354,12 @@ class SmartButton implements SmartButtonInterface
], ],
'labels' => [ 'labels' => [
'error' => [ 'error' => [
'generic' => __('Something went wrong. Please try again or choose another payment source', 'woocommerce-paypal-commerce-gateway'), 'generic' => __(
] 'Something went wrong. Please try again or choose another payment source',
] 'woocommerce-paypal-commerce-gateway'
),
],
],
]; ];
$this->requestData->dequeueNonceFix(); $this->requestData->dequeueNonceFix();