mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +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' => [
|
||||
'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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue