Changeset 3102551
- Timestamp:
- 06/14/2024 03:20:36 AM (22 months ago)
- Location:
- bread-finance/trunk
- Files:
-
- 3 edited
-
README.md (modified) (2 diffs)
-
assets/js/v2/main.js (modified) (3 diffs)
-
bread-finance.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bread-finance/trunk/README.md
r3088054 r3102551 4 4 Requires at least: 4.9 5 5 Tested up to: 6.1.1 6 Stable tag: 3.5. 26 Stable tag: 3.5.3 7 7 Requires PHP: 5.6 8 8 WC requires at least: 3.0 … … 72 72 73 73 == Changelog == 74 75 = 3.5.3 76 * Current release 77 * Check shipping method on page load 78 74 79 = 3.5.2 75 * Current release76 80 * Add support for WPCaptcha 77 81 -
bread-finance/trunk/assets/js/v2/main.js
r3088054 r3102551 1 1 /** 2 * Bread v3.5. 22 * Bread v3.5.3 3 3 * 4 4 * @author Maritim, Kiprotich … … 726 726 var self = this, 727 727 isOrderPayForm = $('form#order_review').length > 0; 728 728 729 729 $('form.checkout').on('change', 'input[name^="shipping_method"]', self.checkShippingAndHidePayment); 730 730 setTimeout(function() { 731 731 self.checkShippingAndHidePayment(); 732 732 }, 1000); 733 733 734 734 if (isOrderPayForm) { 735 735 self.$form.on('submit', function() { … … 760 760 */ 761 761 CheckoutHandler.prototype.checkShippingAndHidePayment = function() { 762 const selected_method = $('input[name^="shipping_method"]:checked').val(); 762 const selected_method = 763 $('input[name^="shipping_method"]').val() || 764 $('input[name^="shipping_method"]:checked').val(); 763 765 764 766 // dont hide payment if enabled_for_shipping is not set -
bread-finance/trunk/bread-finance.php
r3088054 r3102551 6 6 * Author: Bread Financial 7 7 * Author URI: https://payments.breadfinancial.com/ 8 * Version: 3.5. 28 * Version: 3.5.3 9 9 * Text Domain: bread_finance 10 10 * Domain Path: /i18n/languages/ … … 206 206 207 207 //Require minimums and constants 208 define('WC_' . $tenant . '_VERSION', '3.5. 2');208 define('WC_' . $tenant . '_VERSION', '3.5.3'); 209 209 define('WC_' . $tenant . '_MIN_PHP_VER', '5.6.0'); 210 210 define('WC_' . $tenant . '_MIN_WC_VER', '3.4.0');
Note: See TracChangeset
for help on using the changeset viewer.