Skip to content

Commit 70509e1

Browse files
committed
2 parents ca49f9e + a7ea419 commit 70509e1

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

.wp-env.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"wp-content/plugins/basic-auth": "./wp-content/plugins/basic-auth",
1717
"wp-content/plugins/bh-wc-set-gateway-by-url": "./wp-content/plugins/bh-wc-set-gateway-by-url",
1818
"wp-content/plugins/checkout-fees-for-woocommerce": "./wp-content/plugins/checkout-fees-for-woocommerce",
19-
"wp-content/plugins/coinsnap-for-givewp": "./wp-content/plugins/coinsnap-for-givewp",
2019
"wp-content/plugins/crypto-payments-woo": "./wp-content/plugins/crypto-payments-woo",
2120
"wp-content/plugins/decentralized-bitcoin-cryptodec-payment-gateway-for-woocommerce": "./wp-content/plugins/decentralized-bitcoin-cryptodec-payment-gateway-for-woocommerce",
2221
"wp-content/plugins/development-plugin": "./development-plugin",

bh-wp-bitcoin-gateway.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,11 @@ static function ( Container $container ) {
188188
/**
189189
* TODO: Move to a class. Copy HPOS compatability as template.
190190
*/
191-
add_action( 'before_woocommerce_init', function() {
192-
if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
193-
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, false );
191+
add_action(
192+
'before_woocommerce_init',
193+
function () {
194+
if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
195+
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', __FILE__, false );
196+
}
194197
}
195-
} );
198+
);

0 commit comments

Comments
 (0)