Plugin Directory

Changeset 2937015


Ignore:
Timestamp:
07/11/2023 09:45:30 AM (2 years ago)
Author:
chthnc
Message:

fix: declare compatibility for High Performance Order Storage data structure

Location:
new-zealand-shipping-zones-for-woocommerce
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • new-zealand-shipping-zones-for-woocommerce/tags/1.0.2/README.txt

    r2899636 r2937015  
    77Tested up to: 6.2
    88Requires PHP: 5.6.2
    9 Stable tag: 1.0.1
     9Stable tag: 1.0.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.0.2 =
     90
     91* Fix: Declare plugin compatibility for WooCommerce High Performance Order Storage (HPOS) data structure. Affects future installs with HPOS enabled by default or when HPOS is enabled manually via Settings > Advanced > Experimental Features. See [High Performance Order Storage Upgrade Recipe book](https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility).
     92
    8993= 1.0.1 =
    9094
  • new-zealand-shipping-zones-for-woocommerce/tags/1.0.2/woocommerce-nz-shipping-zones.php

    r2899636 r2937015  
    1414 * Plugin URI: https://wordpress.org/plugins/new-zealand-shipping-zones-for-woocommerce/
    1515 * Description: Sets up New Zealand standard and rural shipping zones for WooCommerce.
    16  * Version: 1.0.1
     16 * Version: 1.0.2
    1717 * Author: Daniel Shaw
    1818 * Author URI: https://danielshaw.co.nz/
     
    2424 * Domain Path: /languages
    2525 * WC requires at least: 2.6.0
    26  * WC tested up to: 7.6.0
     26 * WC tested up to: 7.8.2
    2727 */
    2828
     
    3535 * The current plugin version.
    3636 */
    37 define( 'WOOCOMMERCE_NZ_SHIPPING_ZONES_VERSION', '1.0.1' );
     37define( 'WOOCOMMERCE_NZ_SHIPPING_ZONES_VERSION', '1.0.2' );
     38
     39/**
     40 * Declares compatibility with High Performance Order Storage data structure.
     41 *
     42 * @link https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility
     43 * @since 1.0.2
     44 */
     45add_action( 'before_woocommerce_init', function() {
     46    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     47        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     48    }
     49} );
    3850
    3951/**
  • new-zealand-shipping-zones-for-woocommerce/trunk/README.txt

    r2899636 r2937015  
    77Tested up to: 6.2
    88Requires PHP: 5.6.2
    9 Stable tag: 1.0.1
     9Stable tag: 1.0.2
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8787== Changelog ==
    8888
     89= 1.0.2 =
     90
     91* Fix: Declare plugin compatibility for WooCommerce High Performance Order Storage (HPOS) data structure. Affects future installs with HPOS enabled by default or when HPOS is enabled manually via Settings > Advanced > Experimental Features. See [High Performance Order Storage Upgrade Recipe book](https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility).
     92
    8993= 1.0.1 =
    9094
  • new-zealand-shipping-zones-for-woocommerce/trunk/woocommerce-nz-shipping-zones.php

    r2899636 r2937015  
    1414 * Plugin URI: https://wordpress.org/plugins/new-zealand-shipping-zones-for-woocommerce/
    1515 * Description: Sets up New Zealand standard and rural shipping zones for WooCommerce.
    16  * Version: 1.0.1
     16 * Version: 1.0.2
    1717 * Author: Daniel Shaw
    1818 * Author URI: https://danielshaw.co.nz/
     
    2424 * Domain Path: /languages
    2525 * WC requires at least: 2.6.0
    26  * WC tested up to: 7.6.0
     26 * WC tested up to: 7.8.2
    2727 */
    2828
     
    3535 * The current plugin version.
    3636 */
    37 define( 'WOOCOMMERCE_NZ_SHIPPING_ZONES_VERSION', '1.0.1' );
     37define( 'WOOCOMMERCE_NZ_SHIPPING_ZONES_VERSION', '1.0.2' );
     38
     39/**
     40 * Declares compatibility with High Performance Order Storage data structure.
     41 *
     42 * @link https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book#declaring-extension-incompatibility
     43 * @since 1.0.2
     44 */
     45add_action( 'before_woocommerce_init', function() {
     46    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     47        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     48    }
     49} );
    3850
    3951/**
Note: See TracChangeset for help on using the changeset viewer.