Changeset 3307208
- Timestamp:
- 06/05/2025 06:09:16 PM (10 months ago)
- Location:
- monei/trunk
- Files:
-
- 6 edited
-
changelog.txt (modified) (1 diff)
-
class-woocommerce-gateway-monei.php (modified) (2 diffs)
-
includes/addons/class-wc-monei-addons-redirect-hooks.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
-
woocommerce-gateway-monei.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
monei/trunk/changelog.txt
r3306462 r3307208 1 1 *** MONEI Payments for WooCommerce *** 2 3 2025-06-05 - version 6.3.6 4 * Fix - Remove old _payment_method transients on activation and update 2 5 3 6 2025-06-04 - version 6.3.5 -
monei/trunk/class-woocommerce-gateway-monei.php
r3306462 r3307208 6 6 * @category Core 7 7 * @package Woocommerce_Gateway_Monei 8 * @version 6.3. 58 * @version 6.3.6 9 9 */ 10 10 … … 26 26 * @var string 27 27 */ 28 public $version = '6.3. 5';28 public $version = '6.3.6'; 29 29 30 30 /** -
monei/trunk/includes/addons/class-wc-monei-addons-redirect-hooks.php
r3287742 r3307208 21 21 22 22 private MoneiPaymentServices $moneiPaymentServices; 23 private SubscriptionService $subscriptionService; 23 24 24 /**25 /** 25 26 * Hooks on redirects. 26 27 */ -
monei/trunk/readme.txt
r3306462 r3307208 4 4 Requires at least: 5.0 5 5 Tested up to: 6.8 6 Stable tag: 6.3. 56 Stable tag: 6.3.6 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 104 104 == Changelog == 105 105 106 2025-06-05 - version 6.3.6 107 * Fix - Remove old _payment_method transients on activation and update 108 106 109 2025-06-04 - version 6.3.5 107 110 * Fix - Remove Cofidis payment method as is not supported -
monei/trunk/vendor/composer/installed.php
r3306462 r3307208 2 2 'root' => array( 3 3 'name' => '__root__', 4 'pretty_version' => ' 6.3.5',5 'version' => ' 6.3.5.0',6 'reference' => ' ba2437adc793859b041ba92a33666ffad14990b5',4 'pretty_version' => 'dev-master', 5 'version' => 'dev-master', 6 'reference' => '04806721f8aace5b73ee0c3aab0bf1c06f99ee40', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '__root__' => array( 14 'pretty_version' => ' 6.3.5',15 'version' => ' 6.3.5.0',16 'reference' => ' ba2437adc793859b041ba92a33666ffad14990b5',14 'pretty_version' => 'dev-master', 15 'version' => 'dev-master', 16 'reference' => '04806721f8aace5b73ee0c3aab0bf1c06f99ee40', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
monei/trunk/woocommerce-gateway-monei.php
r3306462 r3307208 11 11 * Plugin URI: https://wordpress.org/plugins/monei/ 12 12 * Description: Accept Card, Apple Pay, Google Pay, Bizum, PayPal and many more payment methods in your store. 13 * Version: 6.3. 513 * Version: 6.3.6 14 14 * Author: MONEI 15 15 * Author URI: https://www.monei.com/ … … 43 43 } 44 44 } ); 45 /** 46 * Remove transients for payment methods on activation 47 * 48 * @return void 49 */ 50 function delete_payment_methods_transients() { 51 global $wpdb; 52 53 // Delete transients that match the pattern 54 $result = $wpdb->query( 55 "DELETE FROM {$wpdb->options} 56 WHERE option_name LIKE '_transient_payment_methods_%' 57 OR option_name LIKE '_transient_timeout_payment_methods_%'" 58 ); 59 if ($result === false) { 60 error_log('MONEI: Failed to delete payment method transients'); 61 } 62 } 63 64 /** 65 * Remove transients for payment methods on update of the plugin 66 * 67 * @param $upgrader_object 68 * @param $options 69 * @return void 70 */ 71 function delete_payment_methods_transients_on_update($upgrader_object, $options) { 72 if ($options['action'] == 'update' && $options['type'] == 'plugin') { 73 if (isset($options['plugins'])) { 74 foreach ($options['plugins'] as $plugin) { 75 if ($plugin == plugin_basename(__FILE__)) { 76 delete_payment_methods_transients(); 77 break; 78 } 79 } 80 } 81 } 82 } 83 84 register_activation_hook(__FILE__, 'delete_payment_methods_transients'); 85 86 add_action('upgrader_process_complete', 'delete_payment_methods_transients_on_update', 10, 2); 45 87 46 88 require_once 'class-woocommerce-gateway-monei.php';
Note: See TracChangeset
for help on using the changeset viewer.