Plugin Directory

Changeset 2857598


Ignore:
Timestamp:
01/31/2023 10:54:59 AM (3 years ago)
Author:
disablebloat
Message:

Update to version 3.1.15 from GitHub

Location:
disable-dashboard-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • disable-dashboard-for-woocommerce/tags/3.1.15/disable-dashboard-for-woocommerce.php

    r2857358 r2857598  
    55 * Plugin URI: https://disablebloat.com/
    66 * Description: All-in-One solution to speed up your WordPress & WooCommerce. Remove unnecessary features and make your site faster and cleaner.
    7  * Version: 3.1.14
     7 * Version: 3.1.15
    88 * Author: Disable Bloat
    99 * Developer: Disable Bloat
     
    152152    // Include Uninstall Cleanup code
    153153    require_once 'includes/functions/disable-bloat-uninstall-cleanup.php';
     154    // Compatibility with WooCommerce HPOS (Custom order tables) - only if WooCommmerce is active
     155    if ( wcbloat_is_woo_active() ) {
     156        add_action( 'before_woocommerce_init', function () {
     157            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     158                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     159            }
     160        } );
     161    }
    154162    // MAIN PLUGIN FILE END
    155163    // DO NOT REMOVE THE BRACKET BELOW, AS IT IS NEEDED FOR THE MECHANISM OF AUTO DEACTIVATING THE FREE VERSION DURING PRO ACTIVATION:
  • disable-dashboard-for-woocommerce/tags/3.1.15/includes/functions/disable-bloat-woocommerce.php

    r2857358 r2857598  
    2929}
    3030
    31 // Compatibility with WooCommerce HPOS (Custom order tables) - only if WooCommmerce is active
    32 if (wcbloat_is_woo_active()) {
    33     add_action('before_woocommerce_init', function () {
    34         if (class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)) {
    35             \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('custom_order_tables', __FILE__, true);
    36         }
    37     });
    38 }
  • disable-dashboard-for-woocommerce/tags/3.1.15/readme.txt

    r2857358 r2857598  
    240240== Changelog ==
    241241
     242= [3.1.15] -  =  2023-01-31 =
     243
     244- Fixed: Warning related to WooCommerce HPOS compatibility
     245
    242246= [3.1.14] -  =  2023-01-30 =
    243247
  • disable-dashboard-for-woocommerce/trunk/disable-dashboard-for-woocommerce.php

    r2857358 r2857598  
    55 * Plugin URI: https://disablebloat.com/
    66 * Description: All-in-One solution to speed up your WordPress & WooCommerce. Remove unnecessary features and make your site faster and cleaner.
    7  * Version: 3.1.14
     7 * Version: 3.1.15
    88 * Author: Disable Bloat
    99 * Developer: Disable Bloat
     
    152152    // Include Uninstall Cleanup code
    153153    require_once 'includes/functions/disable-bloat-uninstall-cleanup.php';
     154    // Compatibility with WooCommerce HPOS (Custom order tables) - only if WooCommmerce is active
     155    if ( wcbloat_is_woo_active() ) {
     156        add_action( 'before_woocommerce_init', function () {
     157            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     158                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     159            }
     160        } );
     161    }
    154162    // MAIN PLUGIN FILE END
    155163    // DO NOT REMOVE THE BRACKET BELOW, AS IT IS NEEDED FOR THE MECHANISM OF AUTO DEACTIVATING THE FREE VERSION DURING PRO ACTIVATION:
  • disable-dashboard-for-woocommerce/trunk/includes/functions/disable-bloat-woocommerce.php

    r2857358 r2857598  
    2929}
    3030
    31 // Compatibility with WooCommerce HPOS (Custom order tables) - only if WooCommmerce is active
    32 if (wcbloat_is_woo_active()) {
    33     add_action('before_woocommerce_init', function () {
    34         if (class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class)) {
    35             \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('custom_order_tables', __FILE__, true);
    36         }
    37     });
    38 }
  • disable-dashboard-for-woocommerce/trunk/readme.txt

    r2857358 r2857598  
    240240== Changelog ==
    241241
     242= [3.1.15] -  =  2023-01-31 =
     243
     244- Fixed: Warning related to WooCommerce HPOS compatibility
     245
    242246= [3.1.14] -  =  2023-01-30 =
    243247
Note: See TracChangeset for help on using the changeset viewer.