Plugin Directory

Changeset 3468447


Ignore:
Timestamp:
02/24/2026 09:34:48 AM (5 weeks ago)
Author:
shieldclimb
Message:

Updated plugin to version 1.0.4: Added full compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart & Checkout Blocks & Tested up to WooCommerce 10.5.2

Location:
shieldclimb-auto-complete-orders-for-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shieldclimb-auto-complete-orders-for-woocommerce/trunk/readme.txt

    r3437092 r3468447  
    55Requires at least: 5.8
    66Tested up to: 6.9
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88Requires PHP: 7.2
    99WC requires at least: 5.8
    10 WC tested up to: 10.4.3
     10WC tested up to: 10.5.2
    1111License: GPLv2 or later
    1212License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    6666== ChangeLog ==
    6767
     68= V1.0.4 =
     69
     70* **Fixed**: Added full compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart & Checkout Blocks. This ensures smooth operation and removes any warnings on stores using the latest WooCommerce features
     71* **Updated**: Tested up to WooCommerce 10.5.2
     72
    6873= V1.0.3 =
    6974
  • shieldclimb-auto-complete-orders-for-woocommerce/trunk/shieldclimb-auto-complete-orders.php

    r3437092 r3468447  
    55 * Plugin URI: https://shieldclimb.com/free-woocommerce-plugins/auto-complete-orders/
    66 * Description: Auto Complete Orders for WooCommerce after payment. Works with downloadable & virtual products. Fast, lightweight & compatible with gateways.
    7  * Version: 1.0.3
     7 * Version: 1.0.4
    88 * Requires Plugins: woocommerce
    99 * Requires at least: 5.8
    1010 * Tested up to: 6.9
    1111 * WC requires at least: 5.8
    12  * WC tested up to: 10.4.3
     12 * WC tested up to: 10.5.2
    1313 * Requires PHP: 7.2
    1414 * Author: shieldclimb.com
     
    2121    exit; // Exit if accessed directly.
    2222}
     23
     24/**
     25 * Declare HPOS & Blocks compatibility
     26 */
     27add_action( 'before_woocommerce_init', function() {
     28    if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     29        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
     30            'custom_order_tables',
     31            __FILE__,
     32            true
     33        );
     34
     35        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility(
     36            'cart_checkout_blocks',
     37            __FILE__,
     38            true
     39        );
     40    }
     41});
    2342
    2443add_action(
Note: See TracChangeset for help on using the changeset viewer.