Changeset 3343544
- Timestamp:
- 08/12/2025 12:27:07 PM (6 months ago)
- Location:
- modula-best-grid-gallery
- Files:
-
- 10 edited
- 1 copied
-
tags/2.12.19 (copied) (copied from modula-best-grid-gallery/trunk)
-
tags/2.12.19/Modula.php (modified) (2 diffs)
-
tags/2.12.19/changelog.txt (modified) (1 diff)
-
tags/2.12.19/includes/public/modula-helper-functions.php (modified) (1 diff)
-
tags/2.12.19/includes/public/templates/modula-gallery.php (modified) (1 diff)
-
tags/2.12.19/readme.txt (modified) (2 diffs)
-
trunk/Modula.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/public/modula-helper-functions.php (modified) (1 diff)
-
trunk/includes/public/templates/modula-gallery.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modula-best-grid-gallery/tags/2.12.19/Modula.php
r3335369 r3343544 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.12.1 87 * Version: 2.12.19 8 8 * Author URI: https://www.wpchill.com/ 9 9 * License: GPLv3 or later … … 48 48 */ 49 49 50 define( 'MODULA_LITE_VERSION', '2.12.1 8' );50 define( 'MODULA_LITE_VERSION', '2.12.19' ); 51 51 define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) ); 52 52 define( 'MODULA_URL', plugin_dir_url( __FILE__ ) ); -
modula-best-grid-gallery/tags/2.12.19/changelog.txt
r3335369 r3343544 1 = 2.12.19 - 12.08.2025 = 2 Fixed: Broken lightbox images when original image type was .heic 3 1 4 = 2.12.18 - 28.07.2025 = 2 5 Added: Filter `modula_show_alignment_options` to allow enabling image alignment options. -
modula-best-grid-gallery/tags/2.12.19/includes/public/modula-helper-functions.php
r3258545 r3343544 56 56 if ( 'full' === $grid_sizes ) { 57 57 $original_image = wp_get_original_image_url( $item['id'] ); 58 $mime_type = get_post_mime_type( $item['id'] ); 59 if ( 'image/heic' === $mime_type || 'image/heif' === $mime_type ) { 60 $original_image = wp_get_attachment_image_src( $item['id'], 'full' ); 61 if ( ! $original_image || ! isset( $original_image[0] ) ) { 62 $original_image = false; 63 } 64 $original_image = $original_image[0]; 65 } else { 66 $original_image = wp_get_original_image_url( $item['id'] ); 67 } 58 68 } 59 69 -
modula-best-grid-gallery/tags/2.12.19/includes/public/templates/modula-gallery.php
r3323470 r3343544 14 14 continue; 15 15 } 16 $full_img_src = esc_url( wp_get_original_image_url( $image['id'] ) ); 16 $mime_type = get_post_mime_type( $image['id'] ); 17 if ( 'image/heic' === $mime_type || 'image/heif' === $mime_type ) { 18 $full_img_src = wp_get_attachment_image_src( $image['id'], 'full' ); 19 if ( ! $full_img_src || ! isset( $full_img_src[0] ) ) { 20 continue; 21 } 22 $full_img_src = $full_img_src[0]; 23 } else { 24 $full_img_src = wp_get_original_image_url( $image['id'] ); 25 } 17 26 18 27 // Check per gallery & per image if we should show title. -
modula-best-grid-gallery/tags/2.12.19/readme.txt
r3335369 r3343544 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 2.12.1 87 Stable tag: 2.12.19 8 8 9 9 License: GNU General Public License v3.0 or later … … 129 129 == Changelog == 130 130 131 = 2.12.19 - 12.08.2025 = 132 Fixed: Broken lightbox images when original image type was .heic. 133 131 134 = 2.12.18 - 28.07.2025 = 132 135 Added: Filter `modula_show_alignment_options` to allow enabling image alignment options. -
modula-best-grid-gallery/trunk/Modula.php
r3335369 r3343544 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.12.1 87 * Version: 2.12.19 8 8 * Author URI: https://www.wpchill.com/ 9 9 * License: GPLv3 or later … … 48 48 */ 49 49 50 define( 'MODULA_LITE_VERSION', '2.12.1 8' );50 define( 'MODULA_LITE_VERSION', '2.12.19' ); 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
r3335369 r3343544 1 = 2.12.19 - 12.08.2025 = 2 Fixed: Broken lightbox images when original image type was .heic 3 1 4 = 2.12.18 - 28.07.2025 = 2 5 Added: Filter `modula_show_alignment_options` to allow enabling image alignment options. -
modula-best-grid-gallery/trunk/includes/public/modula-helper-functions.php
r3258545 r3343544 56 56 if ( 'full' === $grid_sizes ) { 57 57 $original_image = wp_get_original_image_url( $item['id'] ); 58 $mime_type = get_post_mime_type( $item['id'] ); 59 if ( 'image/heic' === $mime_type || 'image/heif' === $mime_type ) { 60 $original_image = wp_get_attachment_image_src( $item['id'], 'full' ); 61 if ( ! $original_image || ! isset( $original_image[0] ) ) { 62 $original_image = false; 63 } 64 $original_image = $original_image[0]; 65 } else { 66 $original_image = wp_get_original_image_url( $item['id'] ); 67 } 58 68 } 59 69 -
modula-best-grid-gallery/trunk/includes/public/templates/modula-gallery.php
r3323470 r3343544 14 14 continue; 15 15 } 16 $full_img_src = esc_url( wp_get_original_image_url( $image['id'] ) ); 16 $mime_type = get_post_mime_type( $image['id'] ); 17 if ( 'image/heic' === $mime_type || 'image/heif' === $mime_type ) { 18 $full_img_src = wp_get_attachment_image_src( $image['id'], 'full' ); 19 if ( ! $full_img_src || ! isset( $full_img_src[0] ) ) { 20 continue; 21 } 22 $full_img_src = $full_img_src[0]; 23 } else { 24 $full_img_src = wp_get_original_image_url( $image['id'] ); 25 } 17 26 18 27 // Check per gallery & per image if we should show title. -
modula-best-grid-gallery/trunk/readme.txt
r3335369 r3343544 5 5 Tested up to: 6.8 6 6 Requires PHP: 5.6 7 Stable tag: 2.12.1 87 Stable tag: 2.12.19 8 8 9 9 License: GNU General Public License v3.0 or later … … 129 129 == Changelog == 130 130 131 = 2.12.19 - 12.08.2025 = 132 Fixed: Broken lightbox images when original image type was .heic. 133 131 134 = 2.12.18 - 28.07.2025 = 132 135 Added: Filter `modula_show_alignment_options` to allow enabling image alignment options.
Note: See TracChangeset
for help on using the changeset viewer.