Changeset 3487079
- Timestamp:
- 03/20/2026 09:30:36 AM (2 weeks ago)
- Location:
- modula-best-grid-gallery
- Files:
-
- 12 edited
- 1 copied
-
tags/2.14.22 (copied) (copied from modula-best-grid-gallery/trunk)
-
tags/2.14.22/Modula.php (modified) (2 diffs)
-
tags/2.14.22/changelog.txt (modified) (1 diff)
-
tags/2.14.22/includes/core/compatibility/class-modula-backward-compatibility.php (modified) (1 diff)
-
tags/2.14.22/includes/public/helpers/modula-helper-functions.php (modified) (1 diff)
-
tags/2.14.22/includes/public/templates/modula-gallery.php (modified) (3 diffs)
-
tags/2.14.22/readme.txt (modified) (2 diffs)
-
trunk/Modula.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/core/compatibility/class-modula-backward-compatibility.php (modified) (1 diff)
-
trunk/includes/public/helpers/modula-helper-functions.php (modified) (1 diff)
-
trunk/includes/public/templates/modula-gallery.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modula-best-grid-gallery/tags/2.14.22/Modula.php
r3483892 r3487079 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.2 17 * Version: 2.14.22 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.2 1' );50 define( 'MODULA_LITE_VERSION', '2.14.22' ); 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.22/changelog.txt
r3483892 r3487079 1 = 2.14.22 - 20.03.2026 = 2 Fixed: No srcset for cropped images. 3 1 4 = 2.14.21 - 16.03.2026 = 2 5 Fixed: JavaScript error in image edit screen. -
modula-best-grid-gallery/tags/2.14.22/includes/core/compatibility/class-modula-backward-compatibility.php
r3458934 r3487079 749 749 public function backward_compatibility_front_social_icons_collapsed( $settings ) { 750 750 751 if ( ! isset( $settings['socialDesktopCollapsed'] ) ) {751 if ( is_array( $settings ) && ! isset( $settings['socialDesktopCollapsed'] ) ) { 752 752 $settings['socialDesktopCollapsed'] = 0; 753 753 } -
modula-best-grid-gallery/tags/2.14.22/includes/public/helpers/modula-helper-functions.php
r3454697 r3487079 316 316 } 317 317 318 if ( isset( $data->gallery_type ) && 'slider' === $data->gallery_type && isset( $data->img_attributes['crop'] ) && $data->img_attributes['crop'] ) { 319 echo $image; 320 return; 321 } 322 318 323 $image_meta = array(); 319 324 // Get the imag meta -
modula-best-grid-gallery/tags/2.14.22/includes/public/templates/modula-gallery.php
r3454697 r3487079 27 27 // Check per gallery & per image if we should show title. 28 28 $should_hide_title = ( boolval( $data->settings['hide_title'] ) || ( isset( $image['hide_title'] ) && boolval( $image['hide_title'] ) ) ); 29 $is_slider = isset( $data->settings['slider_image_crop'] ); 30 $custom_size = $is_slider ? 'custom' === $data->settings['slider_image_size'] : 'custom' === $data->settings['grid_image_size']; 31 $crop = $is_slider ? boolval( $data->settings['slider_image_crop'] ) : boolval( $data->settings['grid_image_crop'] ); 29 32 30 33 // Create array with data in order to send it to image template … … 47 50 'socialDesktopCollapsed' => boolval( $data->settings['socialDesktopCollapsed'] ), 48 51 'lazyLoad' => modula_run_lazy_load( $data->settings ), 52 'gallery_type' => $data->settings['type'], 49 53 // Video defaults (some extensions expect these properties to exist). 50 54 'video_template' => false, … … 75 79 'data-full' => $full_img_src, 76 80 'title' => isset( $image['title'] ) ? $image['title'] : '', 81 'crop' => $custom_size && $crop, 77 82 ), 78 83 'social_attributes' => array( -
modula-best-grid-gallery/tags/2.14.22/readme.txt
r3483892 r3487079 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 2.14.2 17 Stable tag: 2.14.22 8 8 9 9 License: GNU General Public License v3.0 or later … … 326 326 327 327 == Changelog == 328 = 2.14.22 - 20.03.2026 = 329 Fixed: No srcset for cropped images. 330 328 331 = 2.14.21 - 16.03.2026 = 329 332 Fixed: JavaScript error in image edit screen. -
modula-best-grid-gallery/trunk/Modula.php
r3483892 r3487079 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.2 17 * Version: 2.14.22 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.2 1' );50 define( 'MODULA_LITE_VERSION', '2.14.22' ); 51 51 define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) ); 52 52 define( 'MODULA_URL', plugin_dir_url( __FILE__ ) ); -
modula-best-grid-gallery/trunk/changelog.txt
r3483892 r3487079 1 = 2.14.22 - 20.03.2026 = 2 Fixed: No srcset for cropped images. 3 1 4 = 2.14.21 - 16.03.2026 = 2 5 Fixed: JavaScript error in image edit screen. -
modula-best-grid-gallery/trunk/includes/core/compatibility/class-modula-backward-compatibility.php
r3458934 r3487079 749 749 public function backward_compatibility_front_social_icons_collapsed( $settings ) { 750 750 751 if ( ! isset( $settings['socialDesktopCollapsed'] ) ) {751 if ( is_array( $settings ) && ! isset( $settings['socialDesktopCollapsed'] ) ) { 752 752 $settings['socialDesktopCollapsed'] = 0; 753 753 } -
modula-best-grid-gallery/trunk/includes/public/helpers/modula-helper-functions.php
r3454697 r3487079 316 316 } 317 317 318 if ( isset( $data->gallery_type ) && 'slider' === $data->gallery_type && isset( $data->img_attributes['crop'] ) && $data->img_attributes['crop'] ) { 319 echo $image; 320 return; 321 } 322 318 323 $image_meta = array(); 319 324 // Get the imag meta -
modula-best-grid-gallery/trunk/includes/public/templates/modula-gallery.php
r3454697 r3487079 27 27 // Check per gallery & per image if we should show title. 28 28 $should_hide_title = ( boolval( $data->settings['hide_title'] ) || ( isset( $image['hide_title'] ) && boolval( $image['hide_title'] ) ) ); 29 $is_slider = isset( $data->settings['slider_image_crop'] ); 30 $custom_size = $is_slider ? 'custom' === $data->settings['slider_image_size'] : 'custom' === $data->settings['grid_image_size']; 31 $crop = $is_slider ? boolval( $data->settings['slider_image_crop'] ) : boolval( $data->settings['grid_image_crop'] ); 29 32 30 33 // Create array with data in order to send it to image template … … 47 50 'socialDesktopCollapsed' => boolval( $data->settings['socialDesktopCollapsed'] ), 48 51 'lazyLoad' => modula_run_lazy_load( $data->settings ), 52 'gallery_type' => $data->settings['type'], 49 53 // Video defaults (some extensions expect these properties to exist). 50 54 'video_template' => false, … … 75 79 'data-full' => $full_img_src, 76 80 'title' => isset( $image['title'] ) ? $image['title'] : '', 81 'crop' => $custom_size && $crop, 77 82 ), 78 83 'social_attributes' => array( -
modula-best-grid-gallery/trunk/readme.txt
r3483892 r3487079 5 5 Tested up to: 6.9 6 6 Requires PHP: 5.6 7 Stable tag: 2.14.2 17 Stable tag: 2.14.22 8 8 9 9 License: GNU General Public License v3.0 or later … … 326 326 327 327 == Changelog == 328 = 2.14.22 - 20.03.2026 = 329 Fixed: No srcset for cropped images. 330 328 331 = 2.14.21 - 16.03.2026 = 329 332 Fixed: JavaScript error in image edit screen.
Note: See TracChangeset
for help on using the changeset viewer.