Plugin Directory

Changeset 3439561


Ignore:
Timestamp:
01/14/2026 01:20:36 PM (3 months ago)
Author:
wpchill
Message:

Update to version 2.13.5 from GitHub

Location:
modula-best-grid-gallery
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • modula-best-grid-gallery/tags/2.13.5/Modula.php

    r3414176 r3439561  
    55* Description:              Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
    66* Author:                   WPChill
    7 * Version:                  2.13.4
     7* Version:                  2.13.5
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.13.4' );
     50define( 'MODULA_LITE_VERSION', '2.13.5' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
  • modula-best-grid-gallery/tags/2.13.5/changelog.txt

    r3414176 r3439561  
     1= 2.13.5 - 14.12.2025 =
     2Fixed: Fatal error when the theme enqueues styles for all widgets.
     3Fixed: Security issues.
     4
    15= 2.13.4 - 08.12.2025 =
    26Fixed: Security issues.
  • modula-best-grid-gallery/tags/2.13.5/includes/elementor/class-modula-elementor-widget-activation.php

    r3121978 r3439561  
    3333        $this->include_widgets_files();
    3434        // Register Widgets
    35         \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\Modula_Elementor_Widget() );
     35        \Elementor\Plugin::instance()->widgets_manager->register( new Widgets\Modula_Elementor_Widget() );
    3636    }
    3737
  • modula-best-grid-gallery/tags/2.13.5/includes/elementor/widgets/class-modula-elementor.php

    r3121978 r3439561  
    1313
    1414    public function get_script_depends() {
    15         if( \Elementor\Plugin::$instance->preview->is_preview_mode() ){
     15        if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
    1616            return array();
    1717        }
    18         $g_settings   = $this->get_settings_for_display();
    19         $gallery_id =  isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
    20         $settings = apply_filters('modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ));
     18        try {
     19            $g_settings = $this->get_settings_for_display();
     20        } catch ( \Throwable $e ) {
     21            return array();
     22        }
     23        $gallery_id = isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
     24        $settings   = apply_filters( 'modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ) );
    2125
    2226        return apply_filters( 'modula_necessary_scripts', array( 'modula' ), $settings );
     
    2428
    2529    public function get_style_depends() {
    26         if( \Elementor\Plugin::$instance->preview->is_preview_mode() ){
     30        if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
    2731            return array();
    2832        }
    29         $g_settings   = $this->get_settings_for_display();
     33        try {
     34            $g_settings = $this->get_settings_for_display();
     35        } catch ( \Throwable $e ) {
     36            return array();
     37        }
    3038        $gallery_id = isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
    31         $settings = apply_filters('modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ));
     39        $settings   = apply_filters( 'modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ) );
    3240
    3341        return apply_filters( 'modula_necessary_styles', array( 'modula' ), $settings );
  • modula-best-grid-gallery/tags/2.13.5/includes/public/class-modula-shortcode.php

    r3381307 r3439561  
    370370
    371371        if ( strlen( $settings['style'] ) ) {
    372             $css .= htmlspecialchars_decode( $settings['style'] );
     372            $css .= esc_html( $settings['style'] );
    373373        }
    374374
  • modula-best-grid-gallery/tags/2.13.5/readme.txt

    r3439297 r3439561  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.13.4
     7Stable tag: 2.13.5
    88
    99License: GNU General Public License v3.0 or later 
     
    327327== Changelog ==
    328328
     329= 2.13.5 - 14.12.2025 =
     330Fixed: Fatal error when the theme enqueues styles for all widgets.
     331Fixed: Security issues.
     332
    329333= 2.13.4 - 08.12.2025 =
    330334Fixed: Security issues.
  • modula-best-grid-gallery/trunk/Modula.php

    r3414176 r3439561  
    55* Description:              Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
    66* Author:                   WPChill
    7 * Version:                  2.13.4
     7* Version:                  2.13.5
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.13.4' );
     50define( 'MODULA_LITE_VERSION', '2.13.5' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
  • modula-best-grid-gallery/trunk/changelog.txt

    r3414176 r3439561  
     1= 2.13.5 - 14.12.2025 =
     2Fixed: Fatal error when the theme enqueues styles for all widgets.
     3Fixed: Security issues.
     4
    15= 2.13.4 - 08.12.2025 =
    26Fixed: Security issues.
  • modula-best-grid-gallery/trunk/includes/elementor/class-modula-elementor-widget-activation.php

    r3121978 r3439561  
    3333        $this->include_widgets_files();
    3434        // Register Widgets
    35         \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Widgets\Modula_Elementor_Widget() );
     35        \Elementor\Plugin::instance()->widgets_manager->register( new Widgets\Modula_Elementor_Widget() );
    3636    }
    3737
  • modula-best-grid-gallery/trunk/includes/elementor/widgets/class-modula-elementor.php

    r3121978 r3439561  
    1313
    1414    public function get_script_depends() {
    15         if( \Elementor\Plugin::$instance->preview->is_preview_mode() ){
     15        if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
    1616            return array();
    1717        }
    18         $g_settings   = $this->get_settings_for_display();
    19         $gallery_id =  isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
    20         $settings = apply_filters('modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ));
     18        try {
     19            $g_settings = $this->get_settings_for_display();
     20        } catch ( \Throwable $e ) {
     21            return array();
     22        }
     23        $gallery_id = isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
     24        $settings   = apply_filters( 'modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ) );
    2125
    2226        return apply_filters( 'modula_necessary_scripts', array( 'modula' ), $settings );
     
    2428
    2529    public function get_style_depends() {
    26         if( \Elementor\Plugin::$instance->preview->is_preview_mode() ){
     30        if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
    2731            return array();
    2832        }
    29         $g_settings   = $this->get_settings_for_display();
     33        try {
     34            $g_settings = $this->get_settings_for_display();
     35        } catch ( \Throwable $e ) {
     36            return array();
     37        }
    3038        $gallery_id = isset( $g_settings['modula_gallery_select'] ) ? $g_settings['modula_gallery_select'] : 0;
    31         $settings = apply_filters('modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ));
     39        $settings   = apply_filters( 'modula_backwards_compatibility_front', get_post_meta( $gallery_id, 'modula-settings', true ) );
    3240
    3341        return apply_filters( 'modula_necessary_styles', array( 'modula' ), $settings );
  • modula-best-grid-gallery/trunk/includes/public/class-modula-shortcode.php

    r3381307 r3439561  
    370370
    371371        if ( strlen( $settings['style'] ) ) {
    372             $css .= htmlspecialchars_decode( $settings['style'] );
     372            $css .= esc_html( $settings['style'] );
    373373        }
    374374
  • modula-best-grid-gallery/trunk/readme.txt

    r3439297 r3439561  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.13.4
     7Stable tag: 2.13.5
    88
    99License: GNU General Public License v3.0 or later 
     
    327327== Changelog ==
    328328
     329= 2.13.5 - 14.12.2025 =
     330Fixed: Fatal error when the theme enqueues styles for all widgets.
     331Fixed: Security issues.
     332
    329333= 2.13.4 - 08.12.2025 =
    330334Fixed: Security issues.
Note: See TracChangeset for help on using the changeset viewer.