mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
formatting labels array in smart button asset
This commit is contained in:
parent
1ea7d9968a
commit
5cd1de2446
1 changed files with 6 additions and 3 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue