Changeset 1449393
- Timestamp:
- 07/05/2016 04:23:11 PM (10 years ago)
- Location:
- bitcoin-payments-for-woocommerce/trunk
- Files:
-
- 7 edited
-
bitcoinway-woocommerce.php (modified) (2 diffs)
-
bwwc-bitcoin-gateway.php (modified) (1 diff)
-
bwwc-cron.php (modified) (1 diff)
-
bwwc-include-all.php (modified) (1 diff)
-
bwwc-mpkgen.php (modified) (1 diff)
-
bwwc-utils.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bitcoin-payments-for-woocommerce/trunk/bitcoinway-woocommerce.php
r1392594 r1449393 6 6 Plugin URI: http://www.bitcoinway.com/ 7 7 Description: Bitcoin Payments for WooCommerce plugin allows you to accept payments in bitcoins for physical and digital products at your WooCommerce-powered online store. 8 Version: 4.0 88 Version: 4.09 9 9 Author: BitcoinWay 10 10 Author URI: http://www.bitcoinway.com/ … … 124 124 'BWWC__render_general_settings_page', // Function 125 125 126 'https://blockchain.bitcoinway.com/images/bitcoin_16x.png?icon=' . // Icon URL 127 urlencode(plugins_url ('' , __FILE__)) 126 'https://blockchain.bitcoinway.com/images/bitcoin_16x.png?icon=X' // Icon URL 128 127 ); 129 128 -
bitcoin-payments-for-woocommerce/trunk/bwwc-bitcoin-gateway.php
r1392594 r1449393 128 128 $valid = false; 129 129 } 130 else if (!preg_match ('/^[a-f0-9]{128}$/', $mpk) && !preg_match ('/^xpub 661[a-zA-Z0-9]{104}$/', $mpk))130 else if (!preg_match ('/^[a-f0-9]{128}$/', $mpk) && !preg_match ('/^xpub[a-zA-Z0-9]{107}$/', $mpk)) 131 131 { 132 132 $reason_message = __("Electrum Master Public Key is invalid. Must be 128 or 111 characters long, consisting of digits and letters.", 'woocommerce'); -
bitcoin-payments-for-woocommerce/trunk/bwwc-cron.php
r1335289 r1449393 75 75 $address_meta = BWWC_unserialize_address_meta (@$row_for_balance_check['address_meta']); 76 76 $address_request_array = array(); 77 $address_request_array['dcontext1'] = strlen(@$row_for_balance_check['address_meta']) . ":" . strlen($address_meta); // Arr test, delete it. 77 78 $address_request_array['address_meta'] = $address_meta; 78 79 -
bitcoin-payments-for-woocommerce/trunk/bwwc-include-all.php
r1392594 r1449393 9 9 if (!defined('BWWC_PLUGIN_NAME')) 10 10 { 11 define('BWWC_VERSION', '4.0 8');11 define('BWWC_VERSION', '4.09'); 12 12 13 13 //----------------------------------------------- -
bitcoin-payments-for-woocommerce/trunk/bwwc-mpkgen.php
r1335289 r1449393 40 40 return BWWC__MATH_generate_bitcoin_address_from_mpk_v1 ($master_public_key, $key_index); 41 41 42 if (preg_match ('/^xpub 661[a-zA-Z0-9]{104}$/', $master_public_key))42 if (preg_match ('/^xpub[a-zA-Z0-9]{107}$/', $master_public_key)) 43 43 return BWWC__MATH_generate_bitcoin_address_from_mpk_v2 ($master_public_key, $key_index, $is_for_change); 44 44 -
bitcoin-payments-for-woocommerce/trunk/bwwc-utils.php
r1392594 r1449393 1096 1096 $valid = false; 1097 1097 } 1098 else if (!preg_match ('/^[a-f0-9]{128}$/', $mpk) && !preg_match ('/^xpub 661[a-zA-Z0-9]{104}$/', $mpk))1098 else if (!preg_match ('/^[a-f0-9]{128}$/', $mpk) && !preg_match ('/^xpub[a-zA-Z0-9]{107}$/', $mpk)) 1099 1099 { 1100 1100 $reason_message = __("Electrum Master Public Key is invalid. Must be 128 or 111 characters long, consisting of digits and letters.", 'woocommerce'); -
bitcoin-payments-for-woocommerce/trunk/readme.txt
r1392594 r1449393 83 83 84 84 == Changelog == 85 86 = 4.09 = 87 * Fixed: Regex validation of new MPK improved. 85 88 86 89 = 4.08 =
Note: See TracChangeset
for help on using the changeset viewer.