NextGEN Gallery – WordPress Gallery Plugin - Version 2.1.19

Version Description

  • 12.23.2015 =
  • Fixed: PHP warning about incorrect usage of parse_url()
Download this release

Release Info

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

Code changes from version 2.1.18 to 2.1.19

.hg_archival.txt CHANGED
@@ -1,4 +1,4 @@
1
  repo: 2b82bc45fbe039c6f4c9f0c667e9cd1ee4d84cbb
2
- node: 305c0878ca0fa96a99da331df514830d848e1b1c
3
  branch: default
4
- tag: 2.1.18
1
  repo: 2b82bc45fbe039c6f4c9f0c667e9cd1ee4d84cbb
2
+ node: 22e4846d4b3b59177e20e26974edd4b84470c394
3
  branch: default
4
+ tag: 2.1.19
.hgtags CHANGED
@@ -330,3 +330,6 @@ e7779f27830389673327ba22b8c74150589fd2c4 2.1.17
330
  7f7e376fc415b9bd2b2660863359dd41fd996f6e 2.1.18
331
  7f7e376fc415b9bd2b2660863359dd41fd996f6e 2.1.18
332
  0000000000000000000000000000000000000000 2.1.18
 
 
 
330
  7f7e376fc415b9bd2b2660863359dd41fd996f6e 2.1.18
331
  7f7e376fc415b9bd2b2660863359dd41fd996f6e 2.1.18
332
  0000000000000000000000000000000000000000 2.1.18
333
+ 0000000000000000000000000000000000000000 2.1.18
334
+ 305c0878ca0fa96a99da331df514830d848e1b1c 2.1.18
335
+ adbd42e0b7450aa76fd70c4218d07bac9beb3c7b 2.1.19
changelog.txt CHANGED
@@ -1,6 +1,9 @@
1
  NextGEN Gallery
2
  by Photocrati Media
3
 
 
 
 
4
  = V2.1.18 - 12.21.2015 =
5
  * NEW: Added text domain and domain path to plugin header
6
  * NEW: Add the ability to specify gallery title with import_gallery_from_fs() method
1
  NextGEN Gallery
2
  by Photocrati Media
3
 
4
+ = V2.1.19 - 12.23.2015 =
5
+ * Fixed: PHP warning about incorrect usage of parse_url()
6
+
7
  = V2.1.18 - 12.21.2015 =
8
  * NEW: Added text domain and domain path to plugin header
9
  * NEW: Add the ability to specify gallery title with import_gallery_from_fs() method
nggallery.php CHANGED
@@ -4,7 +4,7 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
4
  /**
5
  * Plugin Name: NextGEN Gallery by Photocrati
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 12 million downloads.
7
- * Version: 2.1.18
8
  * Author: Photocrati Media
9
  * Plugin URI: http://www.nextgen-gallery.com
10
  * Author URI: http://www.photocrati.com
@@ -589,7 +589,7 @@ class C_NextGEN_Bootstrap
589
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
590
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
591
  define('NGG_PLUGIN_STARTED_AT', microtime());
592
- define('NGG_PLUGIN_VERSION', '2.1.18');
593
 
594
  if (!defined('NGG_HIDE_STRICT_ERRORS')) {
595
  define('NGG_HIDE_STRICT_ERRORS', TRUE);
4
  /**
5
  * Plugin Name: NextGEN Gallery by Photocrati
6
  * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 12 million downloads.
7
+ * Version: 2.1.19
8
  * Author: Photocrati Media
9
  * Plugin URI: http://www.nextgen-gallery.com
10
  * Author URI: http://www.photocrati.com
589
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
590
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
591
  define('NGG_PLUGIN_STARTED_AT', microtime());
592
+ define('NGG_PLUGIN_VERSION', '2.1.19');
593
 
594
  if (!defined('NGG_HIDE_STRICT_ERRORS')) {
595
  define('NGG_HIDE_STRICT_ERRORS', TRUE);
products/photocrati_nextgen/modules/frame_communication/package.module.frame_communication.php CHANGED
@@ -62,7 +62,7 @@ class Mixin_Frame_Event_Publisher extends Mixin
62
  $write_cookie = XMLRPC_REQUEST == FALSE;
63
  }
64
  if ($write_cookie) {
65
- setrawcookie($this->object->setting_name . '_' . $id, $this->object->_encode($data), time() + 10800, '/', parse_url(site_url(), 'host'));
66
  }
67
  return $data;
68
  }
62
  $write_cookie = XMLRPC_REQUEST == FALSE;
63
  }
64
  if ($write_cookie) {
65
+ setrawcookie($this->object->setting_name . '_' . $id, $this->object->_encode($data), time() + 10800, '/', parse_url(site_url(), PHP_URL_HOST));
66
  }
67
  return $data;
68
  }
products/photocrati_nextgen/modules/fs/package.module.fs.php CHANGED
@@ -271,7 +271,7 @@ class Mixin_Fs_Instance_Methods extends Mixin
271
  }
272
  // Join the paths together
273
  $retval = implode(DIRECTORY_SEPARATOR, $retval);
274
- if (strpos($retval, $this->get_document_root()) !== 0) {
275
  $retval = DIRECTORY_SEPARATOR . trim($retval, '/\\');
276
  }
277
  return $retval;
271
  }
272
  // Join the paths together
273
  $retval = implode(DIRECTORY_SEPARATOR, $retval);
274
+ if (strpos($retval, $this->get_document_root()) !== 0 && strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
275
  $retval = DIRECTORY_SEPARATOR . trim($retval, '/\\');
276
  }
277
  return $retval;
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === NextGEN Gallery ===
2
  Contributors: photocrati
3
  Tags: nextgen, nextgen gallery, gallery, galleries, image, images, image gallery, photo, photos, photo gallery, picture, pictures, picture gallery, album, albums, photo albums, image album, media, media gallery, thumbnails, thumbnail gallery, thumbnail galleries, slideshow, slideshows, slideshow gallery, slideshow galleries, fancybox, lightbox, responsive, responsive gallery, responsive galleries, wordpress responsive gallery, nextcellent, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugins, best gallery plugin, free photo gallery, singlepic, image captions imagebrowser, watermarks, watermarking, photography, photographer
4
- Requires at least: 3.6.1
5
- Stable tag: 2.1.16
6
  Tested up to: 4.4
7
  License: GPLv2
8
 
@@ -199,6 +199,9 @@ For more information, feel free to visit the official website for the NextGEN Ga
199
 
200
  == Changelog ==
201
 
 
 
 
202
  = V2.1.18 - 12.21.2015 =
203
  * NEW: Added text domain and domain path to plugin header
204
  * NEW: Add the ability to specify gallery title with import_gallery_from_fs() method
1
  === NextGEN Gallery ===
2
  Contributors: photocrati
3
  Tags: nextgen, nextgen gallery, gallery, galleries, image, images, image gallery, photo, photos, photo gallery, picture, pictures, picture gallery, album, albums, photo albums, image album, media, media gallery, thumbnails, thumbnail gallery, thumbnail galleries, slideshow, slideshows, slideshow gallery, slideshow galleries, fancybox, lightbox, responsive, responsive gallery, responsive galleries, wordpress responsive gallery, nextcellent, wordpress gallery plugin, wordpress photo gallery plugin, wp gallery, wp gallery plugins, best gallery plugin, free photo gallery, singlepic, image captions imagebrowser, watermarks, watermarking, photography, photographer
4
+ Requires at least: 4.0.0
5
+ Stable tag: 2.1.19
6
  Tested up to: 4.4
7
  License: GPLv2
8
 
199
 
200
  == Changelog ==
201
 
202
+ = V2.1.19 - 12.23.2015 =
203
+ * Fixed: PHP warning about incorrect usage of parse_url()
204
+
205
  = V2.1.18 - 12.21.2015 =
206
  * NEW: Added text domain and domain path to plugin header
207
  * NEW: Add the ability to specify gallery title with import_gallery_from_fs() method