Changeset 2053250
- Timestamp:
- 03/19/2019 09:52:05 AM (7 years ago)
- Location:
- digiwallet-for-woocommerce/trunk
- Files:
-
- 3 edited
-
changelog.txt (modified) (1 diff)
-
digiwallet.php (modified) (2 diffs)
-
includes/digiwallet.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
digiwallet-for-woocommerce/trunk/changelog.txt
r2052784 r2053250 3 3 5.0.5 15-1-2019 replace CUrl with WP_Http 4 4 5.0.6 7-3-2019 fix plugin in case active WP Multisite 5 5.0.7 19-3-2019 execute query when plugin update complete -
digiwallet-for-woocommerce/trunk/digiwallet.php
r2052784 r2053250 13 13 * Author: DigiWallet.nl 14 14 * Author URI: https://www.digiwallet.nl 15 * Version: 5.0. 6 - 7-3-2019 fix plugin in case active WP Multisite15 * Version: 5.0.7 - 19-3-2019 execute query when plugin update complete 16 16 */ 17 17 define('DIGIWALLET_TABLE_NAME', 'woocommerce_digiwallet'); … … 26 26 ); 27 27 28 // update db when plugin update complete 29 add_action( 'upgrader_process_complete', 'digiwallet_upgrade',10, 2); 30 31 function digiwallet_upgrade ( $upgrader_object, $options ) { 32 $current_plugin_path_name = plugin_basename( __FILE__ ); 33 if ($options['action'] == 'update' && $options['type'] == 'plugin' ){ 34 foreach($options['plugins'] as $each_plugin){ 35 if ($each_plugin == $current_plugin_path_name) { 36 (new DigiWalletInstall)->install_db(); 37 } 38 } 39 } 40 } 28 41 /** 29 42 * WooCommerce fallback notice. -
digiwallet-for-woocommerce/trunk/includes/digiwallet.class.php
r2052784 r2053250 21 21 // Constants 22 22 23 const APP_ID = 'dw_woocommerce3.x_5.0. 6';23 const APP_ID = 'dw_woocommerce3.x_5.0.7'; 24 24 25 25 const MIN_AMOUNT = 84;
Note: See TracChangeset
for help on using the changeset viewer.