From 5cd1de244660035054b30cabfdc8c3c81281e810 Mon Sep 17 00:00:00 2001 From: David Remer Date: Tue, 28 Jul 2020 08:09:33 +0300 Subject: [PATCH] formatting labels array in smart button asset --- modules.local/ppcp-button/src/Assets/SmartButton.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules.local/ppcp-button/src/Assets/SmartButton.php b/modules.local/ppcp-button/src/Assets/SmartButton.php index 9ac48cf44..42fa094db 100644 --- a/modules.local/ppcp-button/src/Assets/SmartButton.php +++ b/modules.local/ppcp-button/src/Assets/SmartButton.php @@ -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();