Skip to content

Commit

Permalink
Merge pull request #1156 from WPChill:2.11.7-release
Browse files Browse the repository at this point in the history
Release 2.11.7
  • Loading branch information
cristeacosmin authored Dec 14, 2024
2 parents 39cb6af + bf305b5 commit be722a9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Modula.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://wp-modula.com/
* Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
* Author: WPChill
* Version: 2.11.6
* Version: 2.11.7
* Author URI: https://www.wpchill.com/
* License: GPLv3 or later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -47,7 +47,7 @@
* @since 2.0.2
*/

define( 'MODULA_LITE_VERSION', '2.11.6' );
define( 'MODULA_LITE_VERSION', '2.11.7' );
define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL', 'https://wp-modula.com' );
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
== Changelog ==
= 2.11.7 - 14.12.2024 =
Fixed: PHP Throwing warning in certain cases

= 2.11.6 - 06.12.2024 =
Changed: Adjustments to the promotion notices for Modula

Expand Down
4 changes: 2 additions & 2 deletions includes/public/templates/modula-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@
// Custom grid has a different setting name for the image crop.
if ( 'custom-grid' !== $data->settings['type'] ) {
// Specify if the image is cropped.
if ( '1' === $data->settings['grid_image_crop'] ) {
if ( isset( $data->settings['grid_image_crop'] ) && '1' === $data->settings['grid_image_crop'] ) {
$item_data['crop'] = true;
}
} else {
// Specify if the image is cropped.
if ( '1' === $data->settings['img_crop'] ) {
if ( isset( $data->settings['img_crop'] ) && '1' === $data->settings['img_crop'] ) {
$item_data['crop'] = true;
}
}
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: best gallery plugin, image gallery, video gallery, free gallery, wordpress
Requires at least: 5.3
Tested up to: 6.7
Requires PHP: 5.6
Stable tag: 2.11.6
Stable tag: 2.11.7

License: GNU General Public License v3.0 or later
The WordPress gallery plugin that's highly customizable & you can use to impress your clients. Create beautiful image galleries in minutes.
Expand Down Expand Up @@ -159,6 +159,9 @@ Free support is included only with a PRO license: [Buy Modula PRO](https://wp-mo

== Changelog ==

= 2.11.7 - 14.12.2024 =
Fixed: PHP Throwing warning in certain cases

= 2.11.6 - 06.12.2024 =
Changed: Adjustments to the promotion notices for Modula

Expand Down

0 comments on commit be722a9

Please sign in to comment.