Plugin Directory

Changeset 3008166


Ignore:
Timestamp:
12/11/2023 02:42:34 PM (2 years ago)
Author:
CardGate
Message:

Fix: hpos compatibility

Location:
cardgate
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cardgate/tags/3.1.27/cardgate.php

    r2975181 r3008166  
    77 * Author: CardGate
    88 * Author URI: https://www.cardgate.com
    9  * Version: 3.1.26
     9 * Version: 3.1.27
    1010 * Text Domain: cardgate
    1111 * Domain Path: /i18n/languages
     
    3333        $this->set_plugin_url();
    3434
     35        add_action( 'before_woocommerce_init', function() {
     36            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     37                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     38            }
     39        } );
    3540        add_action('admin_head', array($this,'add_cgform_fields'));
    3641        add_action('woocommerce_cart_calculate_fees', array($this,'calculate_totals'), 10, 1);
  • cardgate/tags/3.1.27/readme.txt

    r3003249 r3008166  
    55Requires at least: 4.4
    66Tested up to: 6.4
    7 Stable tag: 3.1.26
     7Stable tag: 3.1.27
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575
    7676== Changelog ==
     77
     78= 3.1.27 =
     79* Fix: HPOS compatibility
    7780
    7881= 3.1.26 =
  • cardgate/trunk/cardgate.php

    r2975181 r3008166  
    77 * Author: CardGate
    88 * Author URI: https://www.cardgate.com
    9  * Version: 3.1.26
     9 * Version: 3.1.27
    1010 * Text Domain: cardgate
    1111 * Domain Path: /i18n/languages
     
    3333        $this->set_plugin_url();
    3434
     35        add_action( 'before_woocommerce_init', function() {
     36            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     37                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     38            }
     39        } );
    3540        add_action('admin_head', array($this,'add_cgform_fields'));
    3641        add_action('woocommerce_cart_calculate_fees', array($this,'calculate_totals'), 10, 1);
  • cardgate/trunk/readme.txt

    r3003249 r3008166  
    55Requires at least: 4.4
    66Tested up to: 6.4
    7 Stable tag: 3.1.26
     7Stable tag: 3.1.27
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575
    7676== Changelog ==
     77
     78= 3.1.27 =
     79* Fix: HPOS compatibility
    7780
    7881= 3.1.26 =
Note: See TracChangeset for help on using the changeset viewer.