Plugin Directory

Changeset 3332885


Ignore:
Timestamp:
07/23/2025 12:39:33 PM (6 months ago)
Author:
wijnbergdevelopments
Message:

Added compatibility for GeneratePress Premium

Location:
product-gallery-swiper-for-woocommerce
Files:
37 added
3 edited

Legend:

Unmodified
Added
Removed
  • product-gallery-swiper-for-woocommerce/trunk/README.txt

    r3330676 r3332885  
    44Requires at least: 6.0
    55Tested up to: 6.8
    6 Stable tag: 1.5.5
     6Stable tag: 1.5.6
    77Requires PHP: 7.2
    88License: GPL-2.0+
     
    6464
    6565== Changelog ==
     66= 1.5.6 =
     67* Added compatibility for GeneratePress Premium
     68
    6669= 1.5.5 =
    6770* Removed load_plugin_textdomain() because it has been discouraged since WordPress version 4.6.
  • product-gallery-swiper-for-woocommerce/trunk/public/class-wdevs-gallery-swiper-public.php

    r3319093 r3332885  
    199199            }
    200200        } );
     201
     202        // GeneratePress Premium compatibility. Adjust gallery rendering timing for image wrapper conflict
     203        if ( function_exists( 'generatepress_wc_image_wrapper_close' ) ) {
     204            remove_action( 'woocommerce_before_shop_loop_item_title', [ $this, 'finish_gallery_rendering' ], PHP_INT_MAX );
     205            add_action( 'woocommerce_shop_loop_item_title', [ $this, 'finish_gallery_rendering' ], 9 );
     206        }
    201207    }
    202208
  • product-gallery-swiper-for-woocommerce/trunk/wdevs-gallery-swiper.php

    r3330676 r3332885  
    1717 * Plugin URI:           https://products.wijnberg.dev
    1818 * Description:          Enhances WooCommerce product images display on product listing sections, providing a responsive and touch-friendly swiper.
    19  * Version:              1.5.5
     19 * Version:              1.5.6
    2020 * Author:               Wijnberg Developments
    2121 * License:              GPL-2.0+
     
    4141 * Rename this for your plugin and update it as you release new versions.
    4242 */
    43 define( 'WDEVS_GALLERY_SWIPER_VERSION', '1.5.5' );
     43define( 'WDEVS_GALLERY_SWIPER_VERSION', '1.5.6' );
    4444
    4545/**
Note: See TracChangeset for help on using the changeset viewer.