Easy Image Gallery - Version 1.4.2

Version Description

  • Release date - May 14, 2020
  • Fixed PHP warning about array_key_exists()
Download this release

Release Info

Developer devrix
Plugin Icon 128x128 Easy Image Gallery
Version 1.4.2
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4.2

easy-image-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Easy Image Gallery
4
  Plugin URI: http://devrix.com/
5
  Description: An easy to use image gallery with drag & drop re-ordering
6
- Version: 1.4.1
7
  Author: DevriX
8
  Author URI: http://devrix.com/
9
  Text Domain: easy-image-gallery
3
  Plugin Name: Easy Image Gallery
4
  Plugin URI: http://devrix.com/
5
  Description: An easy to use image gallery with drag & drop re-ordering
6
+ Version: 1.4.2
7
  Author: DevriX
8
  Author URI: http://devrix.com/
9
  Text Domain: easy-image-gallery
includes/gutenberg-block/src/init.php CHANGED
@@ -27,7 +27,7 @@ function easy_image_gallery_hide( $post_id ) {
27
  $post_types = easy_image_gallery_allowed_post_types();
28
  $post_type = get_post_type( $post_id );
29
 
30
- if ( ! array_key_exists( $post_type, $post_types ) ) {
31
  return true;
32
  }
33
 
27
  $post_types = easy_image_gallery_allowed_post_types();
28
  $post_type = get_post_type( $post_id );
29
 
30
+ if ( ! array_key_exists( strval( $post_type ), $post_types ) ) {
31
  return true;
32
  }
33
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: devrix, nofearinc
3
  Tags: image gallery, image, galleries, simple, easy, devrix
4
  Requires at least: 3.5
5
  Tested up to: 5.3.2
6
- Stable tag: 1.4.1
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -90,7 +90,7 @@ If you use the template tag above, you will need to remove the default content f
90
 
91
  1. The plugin's simple configuration screen. Any existing custom post types will appear here
92
  1. The plugin's simple metabox that is added to the publish/edit screens
93
- You can select multiple images to insert into the gallery
94
  1. The plugin's Image Gallery metabox after images have been inserted and the post has been saved
95
  1. The front-end of the website showing the gallery which has been automatically appended to the content
96
  1. Clicking on an image launches the lightbox. Here it's shown with prettyPhoto
@@ -118,6 +118,10 @@ The plugin ownership was transferred to DevriX. There are no functionality chang
118
 
119
  == Changelog ==
120
 
 
 
 
 
121
  = 1.4.1 =
122
  * Release date - January 22, 2020
123
  * Fixing TwentyTwenty single post styles
3
  Tags: image gallery, image, galleries, simple, easy, devrix
4
  Requires at least: 3.5
5
  Tested up to: 5.3.2
6
+ Stable tag: 1.4.2
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
90
 
91
  1. The plugin's simple configuration screen. Any existing custom post types will appear here
92
  1. The plugin's simple metabox that is added to the publish/edit screens
93
+ 1. You can select multiple images to insert into the gallery
94
  1. The plugin's Image Gallery metabox after images have been inserted and the post has been saved
95
  1. The front-end of the website showing the gallery which has been automatically appended to the content
96
  1. Clicking on an image launches the lightbox. Here it's shown with prettyPhoto
118
 
119
  == Changelog ==
120
 
121
+ = 1.4.2 =
122
+ * Release date - May 14, 2020
123
+ * Fixed PHP warning about array_key_exists()
124
+
125
  = 1.4.1 =
126
  * Release date - January 22, 2020
127
  * Fixing TwentyTwenty single post styles