Changeset 3455134
- Timestamp:
- 02/06/2026 05:21:14 AM (8 weeks ago)
- Location:
- modula-best-grid-gallery
- Files:
-
- 8 edited
- 1 copied
-
tags/2.14.2 (copied) (copied from modula-best-grid-gallery/trunk)
-
tags/2.14.2/Modula.php (modified) (2 diffs)
-
tags/2.14.2/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php (modified) (1 diff)
-
tags/2.14.2/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver.php (modified) (1 diff)
-
tags/2.14.2/readme.txt (modified) (1 diff)
-
trunk/Modula.php (modified) (2 diffs)
-
trunk/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver-block.php (modified) (1 diff)
-
trunk/includes/features/third-party-builders/modula-beaver-block/class-modula-beaver.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modula-best-grid-gallery/tags/2.14.2/Modula.php
r3454791 r3455134 5 5 * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks. 6 6 * Author: WPChill 7 * Version: 2.14. 17 * Version: 2.14.2 8 8 * Author URI: https://www.wpchill.com/ 9 9 * License: GPLv3 or later … … 48 48 */ 49 49 50 define( 'MODULA_LITE_VERSION', '2.14. 1' );50 define( 'MODULA_LITE_VERSION', '2.14.2' ); 51 51 define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) ); 52 52 define( '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 1 1 <?php 2 2 // Exit if accessed directly. 3 if ( !defined('ABSPATH')) {4 exit;3 if ( ! defined( 'ABSPATH' ) ) { 4 exit; 5 5 } 6 6 7 7 class Modula_Beaver_Block extends FLBuilderModule { 8 8 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 } 20 25 } 21 26 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 27 FLBuilder::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 1 1 <?php 2 2 // Exit if accessed directly. 3 if ( !defined('ABSPATH')) {4 exit;3 if ( ! defined( 'ABSPATH' ) ) { 4 exit; 5 5 } 6 6 7 7 class Modula_Beaver { 8 8 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 } 15 16 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 } 17 25 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() { 26 30 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 } 41 38 } 42 39 -
modula-best-grid-gallery/tags/2.14.2/readme.txt
r3454791 r3455134 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 2.14. 17 Stable tag: 2.14.2 8 8 9 9 License: GNU General Public License v3.0 or later -
modula-best-grid-gallery/trunk/Modula.php
r3454791 r3455134 5 5 * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks. 6 6 * Author: WPChill 7 * Version: 2.14. 17 * Version: 2.14.2 8 8 * Author URI: https://www.wpchill.com/ 9 9 * License: GPLv3 or later … … 48 48 */ 49 49 50 define( 'MODULA_LITE_VERSION', '2.14. 1' );50 define( 'MODULA_LITE_VERSION', '2.14.2' ); 51 51 define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) ); 52 52 define( '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 1 1 <?php 2 2 // Exit if accessed directly. 3 if ( !defined('ABSPATH')) {4 exit;3 if ( ! defined( 'ABSPATH' ) ) { 4 exit; 5 5 } 6 6 7 7 class Modula_Beaver_Block extends FLBuilderModule { 8 8 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 } 20 25 } 21 26 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 27 FLBuilder::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 1 1 <?php 2 2 // Exit if accessed directly. 3 if ( !defined('ABSPATH')) {4 exit;3 if ( ! defined( 'ABSPATH' ) ) { 4 exit; 5 5 } 6 6 7 7 class Modula_Beaver { 8 8 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 } 15 16 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 } 17 25 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() { 26 30 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 } 41 38 } 42 39 -
modula-best-grid-gallery/trunk/readme.txt
r3454791 r3455134 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 2.14. 17 Stable tag: 2.14.2 8 8 9 9 License: GNU General Public License v3.0 or later
Note: See TracChangeset
for help on using the changeset viewer.