Skip to content

Commit a572293

Browse files
committed
Merge trunk into develop
2 parents aa5cc44 + 1a26e0a commit a572293

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/actions/setup-repo/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ runs:
2525
uses: shivammathur/setup-php@v2
2626
with:
2727
php-version: ${{ inputs.php-version }}
28-
tools: composer
28+
tools: composer:2.5.0
2929
coverage: none

changelog/fix-5347-undefined-i18n-upe

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: patch
2+
Type: fix
3+
4+
UPE not loading on checkout page due to undefined i18n.

includes/payment-methods/class-upe-payment-gateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function register_scripts() {
139139
true
140140
);
141141

142-
$script_dependencies = [ 'stripe', 'wc-checkout' ];
142+
$script_dependencies = [ 'stripe', 'wc-checkout', 'wp-i18n' ];
143143

144144
if ( $this->supports( 'tokenization' ) ) {
145145
$script_dependencies[] = 'woocommerce-tokenization-form';

0 commit comments

Comments
 (0)