Changeset 2984526
- Timestamp:
- 10/26/2023 04:01:54 PM (2 years ago)
- Location:
- blockonomics-bitcoin-payments/trunk
- Files:
-
- 3 edited
-
blockonomics-woocommerce.php (modified) (3 diffs)
-
php/Blockonomics.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blockonomics-bitcoin-payments/trunk/blockonomics-woocommerce.php
r2977311 r2984526 4 4 * Plugin URI: https://github.com/blockonomics/woocommerce-plugin 5 5 * Description: Accept Bitcoin Payments on your WooCommerce-powered website with Blockonomics 6 * Version: 3.6. 66 * Version: 3.6.7 7 7 * Author: Blockonomics 8 8 * Author URI: https://www.blockonomics.co … … 80 80 // Where it tries to build SEO content from the shortcode and this could lead to checkout page not loading correctly. 81 81 $currentFilter = current_filter(); 82 if ($currentFilter != 'the_content'){82 if ($currentFilter == 'wp_head'){ 83 83 return; 84 84 } … … 551 551 wp_register_script( 'qrious', plugins_url('js/vendors/qrious.min.js#deferload', __FILE__), array(), get_plugin_data( __FILE__ )['Version'] ); 552 552 wp_register_script( 'copytoclipboard', plugins_url('js/vendors/copytoclipboard.js#deferload', __FILE__), array(), get_plugin_data( __FILE__ )['Version'] ); 553 wp_register_script( 'bnomics-checkout', plugins_url('js/checkout.js#deferload', __FILE__), array('reconnecting-websocket', 'qrious','copytoclipboard'), get_plugin_data( __FILE__ )['Version'] , array('in_footer' => true ));553 wp_register_script( 'bnomics-checkout', plugins_url('js/checkout.js#deferload', __FILE__), array('reconnecting-websocket', 'qrious','copytoclipboard'), get_plugin_data( __FILE__ )['Version'] ); 554 554 } 555 555 -
blockonomics-bitcoin-payments/trunk/php/Blockonomics.php
r2977311 r2984526 437 437 wp_enqueue_style( 'bnomics-style' ); 438 438 if ($template_name === 'checkout') { 439 add_action('wp_footer', function() use ($additional_script) { 440 printf('<script type="text/javascript">%s</script>', $additional_script); 441 }); 439 wp_add_inline_script('bnomics-checkout', $additional_script, 'before'); 442 440 wp_enqueue_script( 'bnomics-checkout' ); 443 441 } -
blockonomics-bitcoin-payments/trunk/readme.txt
r2977311 r2984526 4 4 Requires at least: 3.0.1 5 5 Tested up to: 6.3.1 6 Stable tag: 3.6. 66 Stable tag: 3.6.7 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 84 84 == Changelog == 85 85 86 = 3.6.7 = 87 * Fix shortcode execution with page builders 88 86 89 = 3.6.6 = 87 90 * Fix plugin conflict where shortcode executed multiple times
Note: See TracChangeset
for help on using the changeset viewer.