NextGEN Gallery – WordPress Gallery Plugin - Version 2.2.9

Version Description

  • 06.14.2017 =
  • Fixed: WSOD caused by setting $wp_query->is_page to false
Download this release

Release Info

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

Code changes from version 2.2.8 to 2.2.9

changelog.txt CHANGED
@@ -1,7 +1,10 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
4
- = V2.2.8 - 06.13.2016 =
 
 
 
5
  * Changed: Removed custom Freemius opt-in message
6
  * Changed: New design and video for Upgrade to Pro page
7
  * Changed: Added namespacing to NGG-generated transients
@@ -278,7 +281,7 @@ by Imagely
278
  * Fixed: Adjusted album-compact template to always include p.ngg-album-gallery-image-counter
279
  * Fixed: Replaced empty gallery rendering in is_feed() with a link
280
  * Fixed: Removed default settings for imagerotator, which is no longer supported
281
- * Fixed: Optimizated scanning of images when importing a gallery
282
  * Fixed: When a gallery is deleted, ensure that DB and filesystem are purged
283
  * Fixed: Removed Insert Gallery Window box shadow
284
  * Fixed: Ensure that file_exists() calls are prefixed with @
@@ -800,7 +803,7 @@ Fixed: Match legacy behaviour when changing gallery path, i.e. don't move fi
800
  = V1.9.13 - 06.11.2013 =
801
  * NEW: Slideshows are now centered to their content area
802
  * Secured: Ensure that only logged in users can upload images
803
- * Fixed: Import date is presered are no longer Jan 1 1970
804
  * Fixed: Removed mention of upgrade.php, which no longer exists
805
 
806
  = V1.9.12 - 02.15.2013 =
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V2.2.9 - 06.14.2017 =
5
+ * Fixed: WSOD caused by setting $wp_query->is_page to false
6
+
7
+ = V2.2.8 - 06.13.2017 =
8
  * Changed: Removed custom Freemius opt-in message
9
  * Changed: New design and video for Upgrade to Pro page
10
  * Changed: Added namespacing to NGG-generated transients
281
  * Fixed: Adjusted album-compact template to always include p.ngg-album-gallery-image-counter
282
  * Fixed: Replaced empty gallery rendering in is_feed() with a link
283
  * Fixed: Removed default settings for imagerotator, which is no longer supported
284
+ * Fixed: Optimized scanning of images when importing a gallery
285
  * Fixed: When a gallery is deleted, ensure that DB and filesystem are purged
286
  * Fixed: Removed Insert Gallery Window box shadow
287
  * Fixed: Ensure that file_exists() calls are prefixed with @
803
  = V1.9.13 - 06.11.2013 =
804
  * NEW: Slideshows are now centered to their content area
805
  * Secured: Ensure that only logged in users can upload images
806
+ * Fixed: Import date is preserved are no longer Jan 1 1970
807
  * Fixed: Removed mention of upgrade.php, which no longer exists
808
 
809
  = V1.9.12 - 02.15.2013 =
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.8
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.8');
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.9
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.9');
641
 
642
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
643
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/nextgen_basic_tagcloud/package.module.nextgen_basic_tagcloud.php CHANGED
@@ -270,8 +270,8 @@ class C_Taxonomy_Controller extends C_MVC_Controller
270
  }
271
  if ($wp_query_orig !== false) {
272
  $wp_query = $wp_query_orig;
273
- $wp_query->is_page = FALSE;
274
- // Prevents comments from displaying on our taxonomy 'page'
275
  }
276
  return $posts;
277
  }
270
  }
271
  if ($wp_query_orig !== false) {
272
  $wp_query = $wp_query_orig;
273
+ // Commenting this out as it was causing WSOD in 2.2.8
274
+ // $wp_query->is_page = FALSE; // Prevents comments from displaying on our taxonomy 'page'
275
  }
276
  return $posts;
277
  }
readme.txt CHANGED
@@ -2,8 +2,8 @@
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.8
6
- Tested up to: 4.7.3
7
  License: GPLv2
8
 
9
  The most popular WordPress gallery plugin and one of the most popular plugins of all time with over 17 million downloads.
@@ -187,8 +187,11 @@ For more information, feel free to visit the official website for the NextGEN Ga
187
 
188
  == Changelog ==
189
 
190
- = V2.2.8 - 06.13.2016 =
191
- * Changed: Removed custom Freeius opt-in message
 
 
 
192
  * Changed: New design and video for Upgrade to Pro page
193
  * Changed: Added namespacing to NGG-generated transients
194
  * Fixed: Better error reporting for the XML-RPC method, ngg.uploadImage
@@ -416,7 +419,7 @@ For more information, feel free to visit the official website for the NextGEN Ga
416
  * Fixed: Problem deleting interframe communication cookies
417
 
418
  = V2.1.15 - 09.09.2015 =
419
- * Secured: Image, photo, and gallery uploadsuploads
420
  * Fixed: Don't use esc_attr_e() to prevent translation issues
421
  * Fixed: Ensure that deleting a gallery doesn't delete anything it shouldn't
422
  * Fixed: get_gallery_abspath() should return NULL if the path doesn't exist
@@ -469,7 +472,7 @@ For more information, feel free to visit the official website for the NextGEN Ga
469
  * Fixed: Adjusted album-compact template to always include p.ngg-album-gallery-image-counter
470
  * Fixed: Replaced empty gallery rendering in is_feed() with a link
471
  * Fixed: Removed default settings for imagerotator, which is no longer supported
472
- * Fixed: Optimizated scanning of images and photos when importing a gallery
473
  * Fixed: When a gallery is deleted, ensure that DB and filesystem are purged
474
  * Fixed: Removed Insert Gallery Window box shadow
475
  * Fixed: Ensure that file_exists() calls are prefixed with @
@@ -837,7 +840,7 @@ For more information, feel free to visit the official website for the NextGEN Ga
837
  * Fixed: Installer should remove all instances of the component factory
838
  * Fixed: Gallery widget settings interface not intuitive
839
  * Fixed: Inability to upload images in some Windows host environments
840
- * Fixed: Sorting images/galleries using the Insert Gallery Windwo
841
  * Fixed: Fix detection of HTTPS (pull request by Leonhardt Wille)
842
  * Fixed: Compilation errors of regular expressions
843
  * Fixed: Pro galleries wouldn't display in environments using PHP 5.3.3 or less
@@ -933,7 +936,7 @@ Fixed: Match legacy behaviour when changing gallery path, i.e. don't move fi
933
  * Changed: Removed "Reset & Uninstall" tab, for now
934
  * Fixed: Compatibility with W3 Total Cache. Please flush cache after updating.
935
  * Fixed: Conflicts with Photocrati Theme galleries
936
- * Fixed: Blank Insert Gallery Window occuring in some cases
937
  * Fixed: Fixed ability to change Lightbox Effect settings
938
  * Fixed: Implemented techniques to ensure WP_Query variables aren't overwritten
939
  * Fixed: Enqueuing AJAX JS libraries twice in wp-admin
@@ -994,7 +997,7 @@ Fixed: Match legacy behaviour when changing gallery path, i.e. don't move fi
994
  = V1.9.13 - 06.11.2013 =
995
  * NEW: Slideshow galleries are now centered to their content area
996
  * Secured: Ensure that only logged in users can upload images and photos
997
- * Fixed: Photo import date is presered are no longer Jan 1 1970
998
  * Fixed: Removed mention of upgrade.php, which no longer exists
999
 
1000
  = V1.9.12 - 02.15.2013 =
@@ -1209,12 +1212,12 @@ Fixed: Match legacy behaviour when changing gallery path, i.e. don't move fi
1209
  * Bugfix : Esc_URL in Media RSS
1210
 
1211
  = V1.5.3 - 11.04.2010 =
1212
- * New : Adding gallery pagination to footer
1213
- * Changed : Perpare new filter to replace photo slideshow
1214
- * Bugfix : Remove non-breaking space from navigation
1215
- * Bugfix : Pagination of galleries
1216
- * Bugfix : Fixed brackets position for old shortcode query
1217
- * Bugfix : Slideshow option 'Show next image on click' has wrong default value
1218
 
1219
  = V1.5.2 - 25.03.2010 =
1220
  * Bugfix : XSS security vulnerability (THX to Core Security Advisories Team , Pedro Varangot)
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.9
6
+ Tested up to: 4.8.0
7
  License: GPLv2
8
 
9
  The most popular WordPress gallery plugin and one of the most popular plugins of all time with over 17 million downloads.
187
 
188
  == Changelog ==
189
 
190
+ = V2.2.9 - 06.14.2017 =
191
+ * Fixed: WSOD caused by setting $wp_query->is_page to false
192
+
193
+ = V2.2.8 - 06.13.2017 =
194
+ * Changed: Removed custom Freemius opt-in message
195
  * Changed: New design and video for Upgrade to Pro page
196
  * Changed: Added namespacing to NGG-generated transients
197
  * Fixed: Better error reporting for the XML-RPC method, ngg.uploadImage
419
  * Fixed: Problem deleting interframe communication cookies
420
 
421
  = V2.1.15 - 09.09.2015 =
422
+ * Secured: Image, photo, and gallery uploads
423
  * Fixed: Don't use esc_attr_e() to prevent translation issues
424
  * Fixed: Ensure that deleting a gallery doesn't delete anything it shouldn't
425
  * Fixed: get_gallery_abspath() should return NULL if the path doesn't exist
472
  * Fixed: Adjusted album-compact template to always include p.ngg-album-gallery-image-counter
473
  * Fixed: Replaced empty gallery rendering in is_feed() with a link
474
  * Fixed: Removed default settings for imagerotator, which is no longer supported
475
+ * Fixed: Optimized scanning of images and photos when importing a gallery
476
  * Fixed: When a gallery is deleted, ensure that DB and filesystem are purged
477
  * Fixed: Removed Insert Gallery Window box shadow
478
  * Fixed: Ensure that file_exists() calls are prefixed with @
840
  * Fixed: Installer should remove all instances of the component factory
841
  * Fixed: Gallery widget settings interface not intuitive
842
  * Fixed: Inability to upload images in some Windows host environments
843
+ * Fixed: Sorting images/galleries using the Insert Gallery Window
844
  * Fixed: Fix detection of HTTPS (pull request by Leonhardt Wille)
845
  * Fixed: Compilation errors of regular expressions
846
  * Fixed: Pro galleries wouldn't display in environments using PHP 5.3.3 or less
936
  * Changed: Removed "Reset & Uninstall" tab, for now
937
  * Fixed: Compatibility with W3 Total Cache. Please flush cache after updating.
938
  * Fixed: Conflicts with Photocrati Theme galleries
939
+ * Fixed: Blank Insert Gallery Window occurring in some cases
940
  * Fixed: Fixed ability to change Lightbox Effect settings
941
  * Fixed: Implemented techniques to ensure WP_Query variables aren't overwritten
942
  * Fixed: Enqueuing AJAX JS libraries twice in wp-admin
997
  = V1.9.13 - 06.11.2013 =
998
  * NEW: Slideshow galleries are now centered to their content area
999
  * Secured: Ensure that only logged in users can upload images and photos
1000
+ * Fixed: Photo import date is preserved are no longer Jan 1 1970
1001
  * Fixed: Removed mention of upgrade.php, which no longer exists
1002
 
1003
  = V1.9.12 - 02.15.2013 =
1212
  * Bugfix : Esc_URL in Media RSS
1213
 
1214
  = V1.5.3 - 11.04.2010 =
1215
+ * NEW: Adding gallery pagination to footer
1216
+ * Changed: Prepare new filter to replace photo slideshow
1217
+ * Bugfix: Remove non-breaking space from navigation
1218
+ * Bugfix: Pagination of galleries
1219
+ * Bugfix: Fixed brackets position for old shortcode query
1220
+ * Bugfix: Slideshow option 'Show next image on click' has wrong default value
1221
 
1222
  = V1.5.2 - 25.03.2010 =
1223
  * Bugfix : XSS security vulnerability (THX to Core Security Advisories Team , Pedro Varangot)