Gallery – Photo Gallery – Image Gallery - Version 2.2.3

Version Description

Download this release

Release Info

Developer machothemes
Plugin Icon wp plugin Gallery – Photo Gallery – Image Gallery
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

Modula.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
- * Version: 2.2.2
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -43,7 +43,7 @@
43
  *
44
  * @since 2.0.2
45
  */
46
- define( 'MODULA_LITE_VERSION', '2.2.2' );
47
  define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL', 'https://wp-modula.com' );
4
  * Plugin URI: https://wp-modula.com/
5
  * Description: Modula is the most powerful, user-friendly WordPress gallery plugin. Add galleries, masonry grids and more in a few clicks.
6
  * Author: MachoThemes
7
+ * Version: 2.2.3
8
  * Author URI: https://www.machothemes.com/
9
  * License: GPLv3 or later
10
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
43
  *
44
  * @since 2.0.2
45
  */
46
+ define( 'MODULA_LITE_VERSION', '2.2.3' );
47
  define( 'MODULA_PATH', plugin_dir_path( __FILE__ ) );
48
  define( 'MODULA_URL', plugin_dir_url( __FILE__ ) );
49
  defined( 'MODULA_PRO_STORE_URL' ) || define( 'MODULA_PRO_STORE_URL', 'https://wp-modula.com' );
README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Modula Image Gallery ===
2
  Contributors: machothemes, silkalns
3
  Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
- Requires at least: 4.6
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
- Stable tag: 2.2.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
1
  === Modula Image Gallery ===
2
  Contributors: machothemes, silkalns
3
  Tags: best gallery plugin, image gallery, photo gallery, responsive gallery, wordpress gallery plugin, wordpress portfolio plugin, masonry gallery, fancy gallery, media gallery, mosaic gallery, polaroid gallery, portfolio gallery
4
+ Requires at least: 5.1
5
  Tested up to: 5.3
6
  Requires PHP: 5.6
7
+ Stable tag: 2.2.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
changelog.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  = 2.2.2 - 31.12.2019 =
2
  Fixed rate pop-up
3
 
1
+ = 2.2.3 - 06.01.2020 =
2
+ Fixed Autoptimize HTML code optimization bug
3
+ Fix warning for no uploaded image
4
+
5
  = 2.2.2 - 31.12.2019 =
6
  Fixed rate pop-up
7
 
includes/admin/class-modula-cpt.php CHANGED
@@ -395,7 +395,8 @@ class Modula_CPT {
395
  }
396
 
397
  if ( 'limit' == $column) {
398
- $images_count = count(get_post_meta( $post_id, 'modula-images', true ));
 
399
  $padlock = '<svg id="padlock" style="margin:7px 12px 0 0; width:12px;position:relative;top:2px" viewBox="0 0 217.81886 310.38968" xmlns="http://www.w3.org/2000/svg">
400
  <g transform="translate(-1550.3 -1495.4)">
401
  <path d="m1659.3 1495.5c-0.9683 0.01-1.9372 0.021-2.9063 0.062-44.496 0.284-84.418 39.853-84.531 84.469-0.5035 10.517 0.1466 21.042 0.031 31.563h-21.438c0.5678 46.226-1.1556 92.56 0.9062 138.72 4.4359 29.724 31.126 56.603 62.25 55.156 34.078-0.066 68.262 1.0541 102.28-0.6876 31.934-5.5024 54.359-38.293 51.938-70.031 0.3669-41.041-0.035-82.083 0.125-123.12-7.1142-0.1818-14.23 0.139-21.344-0.094 0.5401-24.99 1.715-52.307-12.531-73.969-15.406-25.706-44.767-42.255-74.781-42.062zm0.4062 35.688c25.281 0.3463 50.259 21.283 49.531 47.625 0.5019 10.922 0.8363 21.85 1.0626 32.781-34.011-0.02-68.021 0.053-102.03-0.063 0.1057-17.098-4.4827-35.793 4.875-51.187 8.4966-16.311 25.48-28.793 44.125-29.125 0.8153-0.032 1.622-0.043 2.4375-0.031z" fill="#fff" opacity=".98"/>
395
  }
396
 
397
  if ( 'limit' == $column) {
398
+ $images_count = (is_array(get_post_meta( $post_id, 'modula-images', true ))) ? count(get_post_meta( $post_id, 'modula-images', true )) : 0;
399
+
400
  $padlock = '<svg id="padlock" style="margin:7px 12px 0 0; width:12px;position:relative;top:2px" viewBox="0 0 217.81886 310.38968" xmlns="http://www.w3.org/2000/svg">
401
  <g transform="translate(-1550.3 -1495.4)">
402
  <path d="m1659.3 1495.5c-0.9683 0.01-1.9372 0.021-2.9063 0.062-44.496 0.284-84.418 39.853-84.531 84.469-0.5035 10.517 0.1466 21.042 0.031 31.563h-21.438c0.5678 46.226-1.1556 92.56 0.9062 138.72 4.4359 29.724 31.126 56.603 62.25 55.156 34.078-0.066 68.262 1.0541 102.28-0.6876 31.934-5.5024 54.359-38.293 51.938-70.031 0.3669-41.041-0.035-82.083 0.125-123.12-7.1142-0.1818-14.23 0.139-21.344-0.094 0.5401-24.99 1.715-52.307-12.531-73.969-15.406-25.706-44.767-42.255-74.781-42.062zm0.4062 35.688c25.281 0.3463 50.259 21.283 49.531 47.625 0.5019 10.922 0.8363 21.85 1.0626 32.781-34.011-0.02-68.021 0.053-102.03-0.063 0.1057-17.098-4.4827-35.793 4.875-51.187 8.4966-16.311 25.48-28.793 44.125-29.125 0.8153-0.032 1.622-0.043 2.4375-0.031z" fill="#fff" opacity=".98"/>
includes/public/class-modula-shortcode.php CHANGED
@@ -201,7 +201,7 @@ class Modula_Shortcode {
201
  echo $this->generate_gallery_css( $gallery_id, $settings );
202
  $this->loader->set_template_data( $template_data );
203
  $this->loader->get_template_part( 'modula', 'gallery' );
204
- echo '<!--- This gallery was built with Modula Gallery ---!>';
205
  $html = ob_get_clean();
206
  return $html;
207
 
201
  echo $this->generate_gallery_css( $gallery_id, $settings );
202
  $this->loader->set_template_data( $template_data );
203
  $this->loader->get_template_part( 'modula', 'gallery' );
204
+ echo '<!--- This gallery was built with Modula Gallery --->';
205
  $html = ob_get_clean();
206
  return $html;
207