NextGEN Gallery – WordPress Gallery Plugin - Version 3.0.1

Version Description

  • 05.17.2018 =
  • Fixed: Prevent caching of display_tab.js which can break the IGW
Download this release

Release Info

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

Code changes from version 3.0.0 to 3.0.1

changelog.txt CHANGED
@@ -1,6 +1,9 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
 
 
 
4
  = V3.0.0 - 05.16.2018 =
5
  * NEW: Complete redesign of NextGEN Gallery backend interface
6
  * Changed: Image descriptions may now include <img> elements with src, alt, title, id, class, name, rel, and style
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V3.0.1 - 05.17.2018 =
5
+ * Fixed: Prevent caching of display_tab.js which can break the IGW
6
+
7
  = V3.0.0 - 05.16.2018 =
8
  * NEW: Complete redesign of NextGEN Gallery backend interface
9
  * Changed: Image descriptions may now include <img> elements with src, alt, title, id, class, name, rel, and style
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 21 million downloads.
7
- * Version: 3.0.0
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
@@ -663,7 +663,7 @@ class C_NextGEN_Bootstrap
663
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
664
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
665
  define('NGG_PLUGIN_STARTED_AT', microtime());
666
- define('NGG_PLUGIN_VERSION', '3.0.0');
667
 
668
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
669
  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 21 million downloads.
7
+ * Version: 3.0.1
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
663
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
664
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
665
  define('NGG_PLUGIN_STARTED_AT', microtime());
666
+ define('NGG_PLUGIN_VERSION', '3.0.1');
667
 
668
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
669
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php CHANGED
@@ -25,7 +25,7 @@ class M_Attach_To_Post extends C_Base_Module
25
  'photocrati-attach_to_post',
26
  'Attach To Post',
27
  'Provides the "Attach to Post" interface for displaying galleries and albums',
28
- '3.0.0',
29
  'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
30
  'Imagely',
31
  'https://www.imagely.com',
25
  'photocrati-attach_to_post',
26
  'Attach To Post',
27
  'Provides the "Attach to Post" interface for displaying galleries and albums',
28
+ '3.0.1',
29
  'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
30
  'Imagely',
31
  'https://www.imagely.com',
products/photocrati_nextgen/modules/attach_to_post/package.module.attach_to_post.php CHANGED
@@ -469,7 +469,7 @@ class Mixin_Attach_To_Post extends Mixin
469
  $display_types[] = $display_type;
470
  }
471
  usort($display_types, array($this->object, '_display_type_list_sort'));
472
- wp_enqueue_script('ngg_display_tab', $this->get_static_url('photocrati-attach_to_post#display_tab.js'), array('jquery', 'backbone', 'underscore.string', 'photocrati_ajax'));
473
  $this->object->mark_script('ngg_display_tab');
474
  wp_localize_script('ngg_display_tab', 'igw_data', array('displayed_gallery_preview_url' => $settings->gallery_preview_url, 'displayed_gallery' => $this->object->_displayed_gallery->get_entity(), 'sources' => $sources->get_all(), 'gallery_primary_key' => $gallery_mapper->get_primary_key_column(), 'galleries' => $gallery_mapper->find_all(), 'albums' => $album_mapper->find_all(), 'tags' => $tags, 'display_types' => $display_types, 'sec_token' => $security->get_request_token('nextgen_edit_displayed_gallery')->get_json(), 'image_primary_key' => $image_mapper->get_primary_key_column(), 'display_type_priority_base' => NGG_DISPLAY_PRIORITY_BASE, 'display_type_priority_step' => NGG_DISPLAY_PRIORITY_STEP, 'shortcode_ref' => isset($_REQUEST['ref']) ? floatval($_REQUEST['ref']) : null, 'i18n' => array('sources' => __('Are you inserting a Gallery (default), an Album, or images based on Tags?', 'nggallery'), 'optional' => __('(optional)', 'nggallery'), 'slug_tooltip' => __('Sets an SEO-friendly name to this gallery for URLs. Currently only in use by the Pro Lightbox', 'nggallery'), 'slug_label' => __('Slug', 'nggallery'), 'no_entities' => __('No entities to display for this source', 'nggallery'), 'exclude_question' => __('Exclude?', 'nggallery'), 'select_gallery' => __('Select a Gallery', 'nggallery'), 'galleries' => __('Select one or more galleries (click in box to see available galleries).', 'nggallery'), 'albums' => __('Select one album (click in box to see available albums).', 'nggallery'))));
475
  }
469
  $display_types[] = $display_type;
470
  }
471
  usort($display_types, array($this->object, '_display_type_list_sort'));
472
+ wp_enqueue_script('ngg_display_tab', $this->get_static_url('photocrati-attach_to_post#display_tab.js'), array('jquery', 'backbone', 'underscore.string', 'photocrati_ajax'), NGG_SCRIPT_VERSION);
473
  $this->object->mark_script('ngg_display_tab');
474
  wp_localize_script('ngg_display_tab', 'igw_data', array('displayed_gallery_preview_url' => $settings->gallery_preview_url, 'displayed_gallery' => $this->object->_displayed_gallery->get_entity(), 'sources' => $sources->get_all(), 'gallery_primary_key' => $gallery_mapper->get_primary_key_column(), 'galleries' => $gallery_mapper->find_all(), 'albums' => $album_mapper->find_all(), 'tags' => $tags, 'display_types' => $display_types, 'sec_token' => $security->get_request_token('nextgen_edit_displayed_gallery')->get_json(), 'image_primary_key' => $image_mapper->get_primary_key_column(), 'display_type_priority_base' => NGG_DISPLAY_PRIORITY_BASE, 'display_type_priority_step' => NGG_DISPLAY_PRIORITY_STEP, 'shortcode_ref' => isset($_REQUEST['ref']) ? floatval($_REQUEST['ref']) : null, 'i18n' => array('sources' => __('Are you inserting a Gallery (default), an Album, or images based on Tags?', 'nggallery'), 'optional' => __('(optional)', 'nggallery'), 'slug_tooltip' => __('Sets an SEO-friendly name to this gallery for URLs. Currently only in use by the Pro Lightbox', 'nggallery'), 'slug_label' => __('Slug', 'nggallery'), 'no_entities' => __('No entities to display for this source', 'nggallery'), 'exclude_question' => __('Exclude?', 'nggallery'), 'select_gallery' => __('Select a Gallery', 'nggallery'), 'galleries' => __('Select one or more galleries (click in box to see available galleries).', 'nggallery'), 'albums' => __('Select one album (click in box to see available albums).', 'nggallery'))));
475
  }
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: 3.0.0
6
  Tested up to: 4.9.5
7
  License: GPLv2
8
 
@@ -183,6 +183,9 @@ For more information, feel free to visit the official website for the NextGEN Ga
183
 
184
  == Changelog ==
185
 
 
 
 
186
  = V3.0.0 - 05.16.2018 =
187
  * NEW: Complete redesign of NextGEN Gallery backend interface
188
  * Changed: Image descriptions may now include <img> elements with src, alt, title, id, class, name, rel, and style
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: 3.0.1
6
  Tested up to: 4.9.5
7
  License: GPLv2
8
 
183
 
184
  == Changelog ==
185
 
186
+ = V3.0.1 - 05.17.2018 =
187
+ * Fixed: Prevent caching of display_tab.js which can break the IGW
188
+
189
  = V3.0.0 - 05.16.2018 =
190
  * NEW: Complete redesign of NextGEN Gallery backend interface
191
  * Changed: Image descriptions may now include <img> elements with src, alt, title, id, class, name, rel, and style