PluginProbe
Pay with Vipps and MobilePay for WooCommerce / 6.3.1
Pay with Vipps and MobilePay for WooCommerce v6.3.1
6.3.1 6.2.6 6.3.0 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.10 6.1.9 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 All 190 releases
← All changes | payment/Blocks/dist/buy-now/render.php +2 -0 6.1.1 → 6.3.1 View file →
@@ -29,7 +29,9 @@
29 29 }
30 30 foreach(['verb', 'variant', 'language'] as $str_attr) {
31 31 $button_args[$str_attr] = $block->attributes[$str_attr] ?? '';
32 32 }
33 + // Looks like button and badge web components now use 'da' instead of 'dk' for danish. LP 2026-08-11
34 + if ('dk' === $button_args['language']) $button_args['language'] = 'da';
33 35
34 36 echo "<div class='wp-block-button wc-block-components-product-button wc-block-button-vipps'>" . $vipps->get_buy_now_button($product->get_id(), null, null, false, '', 'gutenberg', $button_args) . "</div>";
35 37 }