Plugin Directory

Changeset 2671873


Ignore:
Timestamp:
02/03/2022 05:22:38 AM (4 years ago)
Author:
gelatoapi
Message:

Release version 1.0.2

Location:
gelato-integration-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gelato-integration-for-woocommerce/tags/1.0.2/gelato-integration-for-woocommerce.php

    r2582400 r2671873  
    55 * Plugin URI: https://
    66 * Description: This plugin helps to connect your WooCommerce store with Gelato.
    7  * Version: 1.0.0
     7 * Version: 1.0.2
    88 * Author: Gelato
    99 * Author URI: https://gelato.com
     
    1212 */
    1313
    14 define('GELATO_VERSION', '1.0.0');
     14define('GELATO_VERSION', '1.0.2');
    1515define('GELATO_MINIMUM_WP_VERSION', '4.0');
    1616define('GELATO_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • gelato-integration-for-woocommerce/tags/1.0.2/includes/GelatoShipping.php

    r2659370 r2671873  
    5858    {
    5959        new self();
     60
     61        if (!get_transient('clean_live_rates')) {
     62            self::cleanInvalidCache();
     63        }
     64    }
     65
     66    protected static function cleanInvalidCache()
     67    {
     68        global $wpdb;
     69
     70        $wpdb->get_results("DELETE FROM {$wpdb->options} WHERE option_name LIKE '%live-rates-response-%'");
     71        $wpdb->get_results("DELETE FROM {$wpdb->options} WHERE option_name LIKE '%flat-rates-response-%'");
     72
     73        set_transient('clean_live_rates', 1);
    6074    }
    6175
  • gelato-integration-for-woocommerce/tags/1.0.2/readme.txt

    r2659375 r2671873  
    88Requires at least: 3.8
    99Tested up to: 5.8
    10 Stable tag: 1.0.1
     10Stable tag: 1.0.2
    1111Requires PHP: 7.0
    1212License: GPLv2 or later
     
    7474* Improvements for Live shipping rates
    7575* Fixed issue with PHP 7.0 version
     76
     77= 1.0.2 =
     78* Improvements for Live shipping rates
  • gelato-integration-for-woocommerce/trunk/gelato-integration-for-woocommerce.php

    r2582400 r2671873  
    55 * Plugin URI: https://
    66 * Description: This plugin helps to connect your WooCommerce store with Gelato.
    7  * Version: 1.0.0
     7 * Version: 1.0.2
    88 * Author: Gelato
    99 * Author URI: https://gelato.com
     
    1212 */
    1313
    14 define('GELATO_VERSION', '1.0.0');
     14define('GELATO_VERSION', '1.0.2');
    1515define('GELATO_MINIMUM_WP_VERSION', '4.0');
    1616define('GELATO_PLUGIN_DIR', plugin_dir_path(__FILE__));
  • gelato-integration-for-woocommerce/trunk/includes/GelatoShipping.php

    r2659370 r2671873  
    5858    {
    5959        new self();
     60
     61        if (!get_transient('clean_live_rates')) {
     62            self::cleanInvalidCache();
     63        }
     64    }
     65
     66    protected static function cleanInvalidCache()
     67    {
     68        global $wpdb;
     69
     70        $wpdb->get_results("DELETE FROM {$wpdb->options} WHERE option_name LIKE '%live-rates-response-%'");
     71        $wpdb->get_results("DELETE FROM {$wpdb->options} WHERE option_name LIKE '%flat-rates-response-%'");
     72
     73        set_transient('clean_live_rates', 1);
    6074    }
    6175
  • gelato-integration-for-woocommerce/trunk/readme.txt

    r2659375 r2671873  
    88Requires at least: 3.8
    99Tested up to: 5.8
    10 Stable tag: 1.0.1
     10Stable tag: 1.0.2
    1111Requires PHP: 7.0
    1212License: GPLv2 or later
     
    7474* Improvements for Live shipping rates
    7575* Fixed issue with PHP 7.0 version
     76
     77= 1.0.2 =
     78* Improvements for Live shipping rates
Note: See TracChangeset for help on using the changeset viewer.