Plugin Directory

Changeset 3455134


Ignore:
Timestamp:
02/06/2026 05:21:14 AM (8 weeks ago)
Author:
wpchill
Message:

Update to version 2.14.2 from GitHub

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

Legend:

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

    r3454791 r3455134  
    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.14.1
     7* Version:                  2.14.2
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.14.1' );
     50define( 'MODULA_LITE_VERSION', '2.14.2' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
  • modula-best-grid-gallery/tags/2.14.2/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php

    r3454697 r3455134  
    11<?php
    22// Exit if accessed directly.
    3 if (!defined('ABSPATH')) {
    4     exit;
     3if ( ! defined( 'ABSPATH' ) ) {
     4    exit;
    55}
    66
    77class Modula_Beaver_Block extends FLBuilderModule {
    88
    9     public function __construct() {
    10         parent::__construct ( apply_filters( 'modula_beaver_construct', array(
    11             'name'            => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
    12             'description'     => esc_html__( 'A block for Modula Gallery', 'modula-best-grid-gallery' ),
    13             'category'        => esc_html__( 'Modula', 'modula-best-grid-gallery' ),
    14             'icon'            => 'format-image.svg',
    15             'dir'             => MODULA_PATH . 'includes/modula-beaver-block/',
    16             'url'             => MODULA_URL . 'includes/modula-beaver-block/',
    17             'partial_refresh' => true,
    18         )));
    19     }
     9    public function __construct() {
     10        parent::__construct(
     11            apply_filters(
     12                'modula_beaver_construct',
     13                array(
     14                    'name'            => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
     15                    'description'     => esc_html__( 'A block for Modula Gallery', 'modula-best-grid-gallery' ),
     16                    'category'        => esc_html__( 'Modula', 'modula-best-grid-gallery' ),
     17                    'icon'            => 'format-image.svg',
     18                    'dir'             => MODULA_PATH . 'includes/features/third-party-builders/modula-beaver-block/',
     19                    'url'             => MODULA_URL . 'includes/modula-beaver-block/',
     20                    'partial_refresh' => true,
     21                )
     22            )
     23        );
     24    }
    2025}
    2126
    22 FLBuilder::register_module('Modula_Beaver_Block', apply_filters( 'modula_beaver_module', array(
    23     'modula_gallery' => array(
    24         'title'    => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
    25         'sections' => array(
    26             'modula_gallery_section' => array(
    27                 'title'  => esc_html__( 'Select the Modula Gallery you want', 'modula-best-grid-gallery' ),
    28                 'fields' => array(
    29                     'modula_gallery_select' => array(
    30                         'type'    => 'select',
    31                         'label'   => esc_html__( 'Select Modula Gallery', 'modula-best-grid-gallery' ),
    32                         'default' => 'none',
    33                         'options' => Modula_Helper::get_galleries(),
    34                     )
    35                 )
    36             )
    37         )
    38     )
    39 )));
    40 
     27FLBuilder::register_module(
     28    'Modula_Beaver_Block',
     29    apply_filters(
     30        'modula_beaver_module',
     31        array(
     32            'modula_gallery' => array(
     33                'title'    => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
     34                'sections' => array(
     35                    'modula_gallery_section' => array(
     36                        'title'  => esc_html__( 'Select the Modula Gallery you want', 'modula-best-grid-gallery' ),
     37                        'fields' => array(
     38                            'modula_gallery_select' => array(
     39                                'type'    => 'select',
     40                                'label'   => esc_html__( 'Select Modula Gallery', 'modula-best-grid-gallery' ),
     41                                'default' => 'none',
     42                                'options' => Modula_Helper::get_galleries(),
     43                            ),
     44                        ),
     45                    ),
     46                ),
     47            ),
     48        )
     49    )
     50);
  • modula-best-grid-gallery/tags/2.14.2/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver.php

    r3454697 r3455134  
    11<?php
    22// Exit if accessed directly.
    3 if (!defined('ABSPATH')) {
    4     exit;
     3if ( ! defined( 'ABSPATH' ) ) {
     4    exit;
    55}
    66
    77class Modula_Beaver {
    88
    9     /**
    10      * Modula_Beaver constructor.
    11      */
    12     public function __construct() {
    13         add_action('init', array($this, 'include_beaver_block'));
    14         add_action('wp_enqueue_scripts', array($this, 'enqueue_page_builder_scripts'));
     9    /**
     10     * Modula_Beaver constructor.
     11     */
     12    public function __construct() {
     13        add_action( 'init', array( $this, 'include_beaver_block' ) );
     14        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_page_builder_scripts' ) );
     15    }
    1516
    16     }
     17    /**
     18     * Include Modula Beaver Block
     19     */
     20    public function include_beaver_block() {
     21        if ( class_exists( 'FLBuilder' ) ) {
     22            require_once MODULA_PATH . 'includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php';
     23        }
     24    }
    1725
    18     /**
    19      * Include Modula Beaver Block
    20      */
    21     public function include_beaver_block() {
    22         if (class_exists('FLBuilder')) {
    23             require_once MODULA_PATH . 'includes/modula-beaver-block/class-modula-beaver-block.php';
    24         }
    25     }
     26    /**
     27     * Enqueue needed scripts in the admin required for pagebuilder preview
     28     */
     29    public function enqueue_page_builder_scripts() {
    2630
    27     /**
    28      * Enqueue needed scripts in the admin required for pagebuilder preview
    29      */
    30     public function enqueue_page_builder_scripts() {
    31 
    32         // only enqueue for Beaver page builder live editing
    33         if (class_exists('FLBuilderModel') && FLBuilderModel::is_builder_active()) {
    34 
    35             wp_register_script('modula-beaver-preview', MODULA_URL . 'assets/js/admin/modula-beaver-preview.js', array('jquery'), MODULA_LITE_VERSION, true);
    36             wp_enqueue_script('modula-all');
    37             wp_enqueue_script('modula-beaver-preview');
    38            
    39         }
    40     }
     31        // only enqueue for Beaver page builder live editing
     32        if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) {
     33            wp_register_script( 'modula-beaver-preview', MODULA_URL . 'assets/js/admin/modula-beaver-preview.js', array( 'jquery' ), MODULA_LITE_VERSION, true );
     34            wp_enqueue_script( 'modula-all' );
     35            wp_enqueue_script( 'modula-beaver-preview' );
     36        }
     37    }
    4138}
    4239
  • modula-best-grid-gallery/tags/2.14.2/readme.txt

    r3454791 r3455134  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.14.1
     7Stable tag: 2.14.2
    88
    99License: GNU General Public License v3.0 or later 
  • modula-best-grid-gallery/trunk/Modula.php

    r3454791 r3455134  
    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.14.1
     7* Version:                  2.14.2
    88* Author URI:               https://www.wpchill.com/
    99* License:                  GPLv3 or later
     
    4848 */
    4949
    50 define( 'MODULA_LITE_VERSION', '2.14.1' );
     50define( 'MODULA_LITE_VERSION', '2.14.2' );
    5151define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
    5252define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
  • modula-best-grid-gallery/trunk/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php

    r3454697 r3455134  
    11<?php
    22// Exit if accessed directly.
    3 if (!defined('ABSPATH')) {
    4     exit;
     3if ( ! defined( 'ABSPATH' ) ) {
     4    exit;
    55}
    66
    77class Modula_Beaver_Block extends FLBuilderModule {
    88
    9     public function __construct() {
    10         parent::__construct ( apply_filters( 'modula_beaver_construct', array(
    11             'name'            => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
    12             'description'     => esc_html__( 'A block for Modula Gallery', 'modula-best-grid-gallery' ),
    13             'category'        => esc_html__( 'Modula', 'modula-best-grid-gallery' ),
    14             'icon'            => 'format-image.svg',
    15             'dir'             => MODULA_PATH . 'includes/modula-beaver-block/',
    16             'url'             => MODULA_URL . 'includes/modula-beaver-block/',
    17             'partial_refresh' => true,
    18         )));
    19     }
     9    public function __construct() {
     10        parent::__construct(
     11            apply_filters(
     12                'modula_beaver_construct',
     13                array(
     14                    'name'            => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
     15                    'description'     => esc_html__( 'A block for Modula Gallery', 'modula-best-grid-gallery' ),
     16                    'category'        => esc_html__( 'Modula', 'modula-best-grid-gallery' ),
     17                    'icon'            => 'format-image.svg',
     18                    'dir'             => MODULA_PATH . 'includes/features/third-party-builders/modula-beaver-block/',
     19                    'url'             => MODULA_URL . 'includes/modula-beaver-block/',
     20                    'partial_refresh' => true,
     21                )
     22            )
     23        );
     24    }
    2025}
    2126
    22 FLBuilder::register_module('Modula_Beaver_Block', apply_filters( 'modula_beaver_module', array(
    23     'modula_gallery' => array(
    24         'title'    => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
    25         'sections' => array(
    26             'modula_gallery_section' => array(
    27                 'title'  => esc_html__( 'Select the Modula Gallery you want', 'modula-best-grid-gallery' ),
    28                 'fields' => array(
    29                     'modula_gallery_select' => array(
    30                         'type'    => 'select',
    31                         'label'   => esc_html__( 'Select Modula Gallery', 'modula-best-grid-gallery' ),
    32                         'default' => 'none',
    33                         'options' => Modula_Helper::get_galleries(),
    34                     )
    35                 )
    36             )
    37         )
    38     )
    39 )));
    40 
     27FLBuilder::register_module(
     28    'Modula_Beaver_Block',
     29    apply_filters(
     30        'modula_beaver_module',
     31        array(
     32            'modula_gallery' => array(
     33                'title'    => esc_html__( 'Modula Gallery', 'modula-best-grid-gallery' ),
     34                'sections' => array(
     35                    'modula_gallery_section' => array(
     36                        'title'  => esc_html__( 'Select the Modula Gallery you want', 'modula-best-grid-gallery' ),
     37                        'fields' => array(
     38                            'modula_gallery_select' => array(
     39                                'type'    => 'select',
     40                                'label'   => esc_html__( 'Select Modula Gallery', 'modula-best-grid-gallery' ),
     41                                'default' => 'none',
     42                                'options' => Modula_Helper::get_galleries(),
     43                            ),
     44                        ),
     45                    ),
     46                ),
     47            ),
     48        )
     49    )
     50);
  • modula-best-grid-gallery/trunk/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver.php

    r3454697 r3455134  
    11<?php
    22// Exit if accessed directly.
    3 if (!defined('ABSPATH')) {
    4     exit;
     3if ( ! defined( 'ABSPATH' ) ) {
     4    exit;
    55}
    66
    77class Modula_Beaver {
    88
    9     /**
    10      * Modula_Beaver constructor.
    11      */
    12     public function __construct() {
    13         add_action('init', array($this, 'include_beaver_block'));
    14         add_action('wp_enqueue_scripts', array($this, 'enqueue_page_builder_scripts'));
     9    /**
     10     * Modula_Beaver constructor.
     11     */
     12    public function __construct() {
     13        add_action( 'init', array( $this, 'include_beaver_block' ) );
     14        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_page_builder_scripts' ) );
     15    }
    1516
    16     }
     17    /**
     18     * Include Modula Beaver Block
     19     */
     20    public function include_beaver_block() {
     21        if ( class_exists( 'FLBuilder' ) ) {
     22            require_once MODULA_PATH . 'includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php';
     23        }
     24    }
    1725
    18     /**
    19      * Include Modula Beaver Block
    20      */
    21     public function include_beaver_block() {
    22         if (class_exists('FLBuilder')) {
    23             require_once MODULA_PATH . 'includes/modula-beaver-block/class-modula-beaver-block.php';
    24         }
    25     }
     26    /**
     27     * Enqueue needed scripts in the admin required for pagebuilder preview
     28     */
     29    public function enqueue_page_builder_scripts() {
    2630
    27     /**
    28      * Enqueue needed scripts in the admin required for pagebuilder preview
    29      */
    30     public function enqueue_page_builder_scripts() {
    31 
    32         // only enqueue for Beaver page builder live editing
    33         if (class_exists('FLBuilderModel') && FLBuilderModel::is_builder_active()) {
    34 
    35             wp_register_script('modula-beaver-preview', MODULA_URL . 'assets/js/admin/modula-beaver-preview.js', array('jquery'), MODULA_LITE_VERSION, true);
    36             wp_enqueue_script('modula-all');
    37             wp_enqueue_script('modula-beaver-preview');
    38            
    39         }
    40     }
     31        // only enqueue for Beaver page builder live editing
     32        if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) {
     33            wp_register_script( 'modula-beaver-preview', MODULA_URL . 'assets/js/admin/modula-beaver-preview.js', array( 'jquery' ), MODULA_LITE_VERSION, true );
     34            wp_enqueue_script( 'modula-all' );
     35            wp_enqueue_script( 'modula-beaver-preview' );
     36        }
     37    }
    4138}
    4239
  • modula-best-grid-gallery/trunk/readme.txt

    r3454791 r3455134  
    55Tested up to: 6.9
    66Requires PHP: 5.6
    7 Stable tag: 2.14.1
     7Stable tag: 2.14.2
    88
    99License: GNU General Public License v3.0 or later 
Note: See TracChangeset for help on using the changeset viewer.