Skip to content

Commit

Permalink
fixed woocommerce performance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Armanul46 committed Apr 22, 2024
1 parent 1ac8995 commit b9eb409
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 10 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
Plugin Name: Product Carousel Slider & Grid Ultimate for WooCommerce
Plugin URI: https://wpwax.com/product/woocommerce-product-carousel-slider-grid-ultimate-pro
Description: It is a fully responsive and mobile friendly WooCommerce Product Carousel, Slider and Grid plugin which comes with lots of features.
Version: 1.9.8
Version: 1.9.9
Author: wpWax
Author URI: https://wpwax.com
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Domain Path: /languages/
Text Domain: woo-product-carousel-slider-and-grid-ultimate
WC requires at least: 3.0
WC tested up to: 8.6
WC tested up to: 8.8
*/
defined('ABSPATH') || die('Direct access is not allow');

Expand Down Expand Up @@ -92,10 +92,18 @@ public static function instance() {
self::$instance->shortcode = new wcpcsu_Shortcode();
// Initialize appsero tracking
self::$instance->init_appsero();
add_action( 'before_woocommerce_init', array( self::$instance, 'declare_woocommerce_feature_compatibility' ) );
}

return self::$instance;
}

public function declare_woocommerce_feature_compatibility() {
if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', WCPCSU_DIR, true );
\Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'cart_checkout_blocks', WCPCSU_DIR, false );
}
}

public function migrate_serialize_data() {

Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: wpwax
Tags: woocommerce carousel, woocommerce slider, woocommerce grid, woocommerce product slider, woocommerce product carousel, WooCommerce product display, WooCommerce product grid plugin, Dynamic product sliders, WooCommerce product carousel plugin, Customizable product sliders, Responsive WooCommerce carousel, WooCommerce product showcase
Requires at least: 4.0
Tested up to: 6.4
Stable tag: 1.9.8
Tested up to: 6.5
Stable tag: 1.9.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -144,6 +144,10 @@ Post Grid and Carousel Ultimate plugin is very easy to use. Just follow the foll
12. Backend: Style Settings

== Changelog ==
= 1.9.9 =
* Fix: woocommerce high-performance order storage issue
* Add: WordPress 6.5 compatibility
* Add: WooCommerce 8.8 compatibility
= 1.9.8 =
* Fix: Security issue
* Add: WooCommerce 8.6 compatibility
Expand Down

0 comments on commit b9eb409

Please sign in to comment.