Plugin Directory

Changeset 2852061


Ignore:
Timestamp:
01/20/2023 08:32:40 PM (3 years ago)
Author:
disablebloat
Message:

Update to version 3.1.13 from GitHub

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

Legend:

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

    r2850709 r2852061  
    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.12
     7 * Version: 3.1.13
    88 * Author: Disable Bloat
    99 * Developer: Disable Bloat
     
    153153    if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ) ) && !(is_multisite() && !array_key_exists( 'woocommerce/woocommerce.php', get_site_option( 'active_sitewide_plugins', array() ) )) ) {
    154154        add_action( 'before_woocommerce_init', function () {
    155             \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     155            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     156                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     157            }
    156158        } );
    157159    }
  • disable-dashboard-for-woocommerce/tags/3.1.13/includes/settings/class-disable-bloat-settings-thirdparty.php

    r2834761 r2852061  
    277277function wcbloat_jetpack_section_callback()
    278278{
    279     _e('By enabling this option, you will turn off Gutenberg Block Editor for all supported post types (including pages). All Gutenberg action and filter hooks will be deactivated, and Gutenberg frontend scripts won\' t load on your site too.', 'disable-dashboard-for-woocommerce');
     279    _e('WordPress often encourages you to install Jetpack and connect your site to WordPress.com. If you do not want Jetpack, you can remove the installation notice. If you are using Jetpack, you can disable Jetpack promotions.', 'disable-dashboard-for-woocommerce');
    280280}
    281281
  • disable-dashboard-for-woocommerce/tags/3.1.13/readme.txt

    r2850709 r2852061  
    240240== Changelog ==
    241241
     242= [3.1.13] -  =  2023-01-20 =
     243
     244- Fixed: Fatal error WooCommerce HPOS - might occured if WooCommerce version is lower then 7.1.0
     245
    242246= [3.1.12] -  =  2023-01-18 =
    243 
    244 - Fixed: Fatal error which might occur during upgrade
    245 
    246 = [3.1.11] -  =  2022-12-15 =
    247247
    248248- Added: Compatibility with WooCommerce HPOS (Custom order tables)
     
    253253- Fixed: Plugin icon
    254254
     255= [3.1.11] -  =  2022-12-15 =
     256
     257- Fixed: Fatal error which might occur during upgrade
     258
    255259= [3.1.0] -  = 2022-11-22 =
    256260
  • disable-dashboard-for-woocommerce/trunk/disable-dashboard-for-woocommerce.php

    r2850709 r2852061  
    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.12
     7 * Version: 3.1.13
    88 * Author: Disable Bloat
    99 * Developer: Disable Bloat
     
    153153    if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) ) ) && !(is_multisite() && !array_key_exists( 'woocommerce/woocommerce.php', get_site_option( 'active_sitewide_plugins', array() ) )) ) {
    154154        add_action( 'before_woocommerce_init', function () {
    155             \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     155            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     156                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     157            }
    156158        } );
    157159    }
  • disable-dashboard-for-woocommerce/trunk/includes/settings/class-disable-bloat-settings-thirdparty.php

    r2834761 r2852061  
    277277function wcbloat_jetpack_section_callback()
    278278{
    279     _e('By enabling this option, you will turn off Gutenberg Block Editor for all supported post types (including pages). All Gutenberg action and filter hooks will be deactivated, and Gutenberg frontend scripts won\' t load on your site too.', 'disable-dashboard-for-woocommerce');
     279    _e('WordPress often encourages you to install Jetpack and connect your site to WordPress.com. If you do not want Jetpack, you can remove the installation notice. If you are using Jetpack, you can disable Jetpack promotions.', 'disable-dashboard-for-woocommerce');
    280280}
    281281
  • disable-dashboard-for-woocommerce/trunk/readme.txt

    r2850709 r2852061  
    240240== Changelog ==
    241241
     242= [3.1.13] -  =  2023-01-20 =
     243
     244- Fixed: Fatal error WooCommerce HPOS - might occured if WooCommerce version is lower then 7.1.0
     245
    242246= [3.1.12] -  =  2023-01-18 =
    243 
    244 - Fixed: Fatal error which might occur during upgrade
    245 
    246 = [3.1.11] -  =  2022-12-15 =
    247247
    248248- Added: Compatibility with WooCommerce HPOS (Custom order tables)
     
    253253- Fixed: Plugin icon
    254254
     255= [3.1.11] -  =  2022-12-15 =
     256
     257- Fixed: Fatal error which might occur during upgrade
     258
    255259= [3.1.0] -  = 2022-11-22 =
    256260
Note: See TracChangeset for help on using the changeset viewer.