NextGEN Gallery – WordPress Gallery Plugin - Version 2.2.10

Version Description

  • 06.14.2017 =
  • Fixed: Ensure that the plugin works when PHP isn't compiled against libxml
Download this release

Release Info

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

Code changes from version 2.2.9 to 2.2.10

changelog.txt CHANGED
@@ -1,6 +1,9 @@
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
 
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V2.2.10 - 06.14.2017 =
5
+ * Fixed: Ensure that the plugin works when PHP isn't compiled against libxml
6
+
7
  = V2.2.9 - 06.14.2017 =
8
  * Fixed: WSOD caused by setting $wp_query->is_page to false
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 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,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.9');
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.10
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.10');
641
 
642
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
643
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/nextgen_xmlrpc/package.module.nextgen_xmlrpc.php CHANGED
@@ -272,7 +272,7 @@ class C_NextGen_API extends C_Component
272
  public static function get_instance($context = false)
273
  {
274
  if (!isset(self::$_instances[$context])) {
275
- self::$_instances[$context] = new self($context);
276
  }
277
  return self::$_instances[$context];
278
  }
@@ -517,7 +517,7 @@ class C_NextGen_API extends C_Component
517
  $wp_fs = $GLOBALS['wp_filesystem'];
518
  $path_prefix = $full_path;
519
  if ($wp_fs->method === 'direct') {
520
- if (trim($ftp_path, " \t\n\r