NextGEN Gallery – WordPress Gallery Plugin - Version 2.2.33

Version Description

  • 12.24.2017
  • Fixed: Certain image attributes were not being validated correctly
Download this release

Release Info

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

Code changes from version 2.2.30 to 2.2.33

changelog.txt CHANGED
@@ -1,6 +1,9 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
 
 
 
4
  = V2.2.30 - 12.13.2017
5
  * Fixed: Segfaults on PHP 7.2, 7.1.12, and 7.0.26.
6
 
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V2.2.33 - 12.24.2017
5
+ * Fixed: Certain image attributes were not being validated correctly
6
+
7
  = V2.2.30 - 12.13.2017
8
  * Fixed: Segfaults on PHP 7.2, 7.1.12, and 7.0.26.
9
 
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 18 million downloads.
7
- * Version: 2.2.30
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
@@ -661,7 +661,7 @@ class C_NextGEN_Bootstrap
661
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
662
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
663
  define('NGG_PLUGIN_STARTED_AT', microtime());
664
- define('NGG_PLUGIN_VERSION', '2.2.30');
665
 
666
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
667
  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 18 million downloads.
7
+ * Version: 2.2.33
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
661
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
662
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
663
  define('NGG_PLUGIN_STARTED_AT', microtime());
664
+ define('NGG_PLUGIN_VERSION', '2.2.33');
665
 
666
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
667
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/nextgen_data/module.nextgen_data.php CHANGED
@@ -122,7 +122,7 @@ class M_NextGen_Data extends C_Base_Module
122
  $retval = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $retval );
123
  $retval= preg_replace('/[\r\n\t ]+/', ' ', $retval);
124
  }
125
- $retval = preg_replace("/\\son[^\\s=]+=/", '', $retval);
126
 
127
  return $retval;
128
  }
122
  $retval = preg_replace( '@<(script|style)[^>]*?>.*?</\\1>@si', '', $retval );
123
  $retval= preg_replace('/[\r\n\t ]+/', ' ', $retval);
124
  }
125
+ $retval = preg_replace("/(\\s)?on[^\\s=]+=/", '', $retval);
126
 
127
  return $retval;
128
  }
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.30
6
  Tested up to: 4.9.1
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.30 - 12.13.2017
191
  * Fixed: Segfaults on PHP 7.2, 7.1.12, and 7.0.26.
192
 
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.33
6
  Tested up to: 4.9.1
7
  License: GPLv2
8
 
187
 
188
  == Changelog ==
189
 
190
+ = V2.2.33 - 12.24.2017
191
+ * Fixed: Certain image attributes were not being validated correctly
192
+
193
  = V2.2.30 - 12.13.2017
194
  * Fixed: Segfaults on PHP 7.2, 7.1.12, and 7.0.26.
195