NextGEN Gallery – WordPress Gallery Plugin - Version 2.2.3

Version Description

  • 04.05.2017 =
  • Fixed: E_WARNING on Gallery Settings page due to improper use of array_combine() on PHP <
Download this release

Release Info

Developer photocrati
Plugin Icon 128x128 NextGEN Gallery – WordPress Gallery Plugin
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

changelog.txt CHANGED
@@ -1,6 +1,9 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
 
 
 
4
  = V2.2.2 - 04.04.2017 =
5
  * Fixed: Hyperlinks in image descriptions
6
  * Fixed: WordPress SEO sitemap image count
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V2.2.3 - 04.05.2017 =
5
+ * Fixed: E_WARNING on Gallery Settings page due to improper use of array_combine() on PHP <= 5.3
6
+
7
  = V2.2.2 - 04.04.2017 =
8
  * Fixed: Hyperlinks in image descriptions
9
  * Fixed: WordPress SEO sitemap image count
nggallery.php CHANGED
@@ -4,7 +4,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
4
  /**
5
  * Plugin Name: NextGEN Gallery
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 17 million downloads.
7
- * Version: 2.2.2
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
@@ -637,7 +637,7 @@ class C_NextGEN_Bootstrap
637
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
638
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
639
  define('NGG_PLUGIN_STARTED_AT', microtime());
640
- define('NGG_PLUGIN_VERSION', '2.2.2');
641
 
642
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
643
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
4
  /**
5
  * Plugin Name: NextGEN Gallery
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 17 million downloads.
7
+ * Version: 2.2.3
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
637
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
638
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
639
  define('NGG_PLUGIN_STARTED_AT', microtime());
640
+ define('NGG_PLUGIN_VERSION', '2.2.3');
641
 
642
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
643
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php CHANGED
@@ -2423,7 +2423,7 @@ class Mixin_Display_Type_Form extends Mixin
2423
  /* Scan for template files and create array */
2424
  $files = scandir($dir);
2425
  $template_files = preg_grep('/^.+\\-template.php$/i', $files);
2426
- $template_files = array_combine($template_files, $template_files);
2427
  /* For custom templates only, append directory name placeholder */
2428
  foreach ($template_files as $key => $value) {
2429
  if ($dir_name !== 'default') {
2423
  /* Scan for template files and create array */
2424
  $files = scandir($dir);
2425
  $template_files = preg_grep('/^.+\\-template.php$/i', $files);
2426
+ $template_files = $template_files ? array_combine($template_files, $template_files) : array();
2427
  /* For custom templates only, append directory name placeholder */
2428
  foreach ($template_files as $key => $value) {
2429
  if ($dir_name !== 'default') {
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: photocrati, imagely
3
  Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark
4
  Requires at least: 4.0.0
5
- Stable tag: 2.2.2
6
  Tested up to: 4.7.3
7
  License: GPLv2
8
 
@@ -187,6 +187,9 @@ For more information, feel free to visit the official website for the NextGEN Ga
187
 
188
  == Changelog ==
189
 
 
 
 
190
  = V2.2.2 - 04.04.2017 =
191
  * Fixed: Hyperlinks in image descriptions
192
  * Fixed: WordPress SEO sitemap image count
2
  Contributors: photocrati, imagely
3
  Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark
4
  Requires at least: 4.0.0
5
+ Stable tag: 2.2.3
6
  Tested up to: 4.7.3
7
  License: GPLv2
8
 
187
 
188
  == Changelog ==
189
 
190
+ = V2.2.3 - 04.05.2017 =
191
+ * Fixed: E_WARNING on Gallery Settings page due to improper use of array_combine() on PHP <= 5.3
192
+
193
  = V2.2.2 - 04.04.2017 =
194
  * Fixed: Hyperlinks in image descriptions
195
  * Fixed: WordPress SEO sitemap image count