NextGEN Gallery – WordPress Gallery Plugin - Version 2.1.62

Version Description

  • 12.15.2016 =
  • Fixed: Typo in notice for launching the gallery wizard
  • Fixed: The ability to dismiss the gallery wizard notice
Download this release

Release Info

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

Code changes from version 2.1.61 to 2.1.62

changelog.txt CHANGED
@@ -1,6 +1,10 @@
1
  NextGEN Gallery
2
  by Imagely
3
 
 
 
 
 
4
  = V2.1.61 - 12.14.2016 =
5
  * NEW: Gallery creation wizard for new users
6
  * Fixed: Shortcodes in widgets not getting substituted in Divi
1
  NextGEN Gallery
2
  by Imagely
3
 
4
+ = V2.1.62 - 12.15.2016 =
5
+ * Fixed: Typo in notice for launching the gallery wizard
6
+ * Fixed: The ability to dismiss the gallery wizard notice
7
+
8
  = V2.1.61 - 12.14.2016 =
9
  * NEW: Gallery creation wizard for new users
10
  * Fixed: Shortcodes in widgets not getting substituted in Divi
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 16 million downloads.
7
- * Version: 2.1.61
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
@@ -596,7 +596,7 @@ class C_NextGEN_Bootstrap
596
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
597
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
598
  define('NGG_PLUGIN_STARTED_AT', microtime());
599
- define('NGG_PLUGIN_VERSION', '2.1.61');
600
 
601
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
602
  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 16 million downloads.
7
+ * Version: 2.1.62
8
  * Author: Imagely
9
  * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
10
  * Author URI: https://www.imagely.com
596
  define('NGG_PRODUCT_URL', path_join(str_replace("\\", '/', NGG_PLUGIN_URL), 'products'));
597
  define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
598
  define('NGG_PLUGIN_STARTED_AT', microtime());
599
+ define('NGG_PLUGIN_VERSION', '2.1.62');
600
 
601
  if (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG)
602
  define('NGG_SCRIPT_VERSION', (string)mt_rand(0, mt_getrandmax()));
products/photocrati_nextgen/modules/nextgen_admin/module.nextgen_admin.php CHANGED
@@ -19,7 +19,7 @@ class M_NextGen_Admin extends C_Base_Module
19
  'photocrati-nextgen_admin',
20
  'NextGEN Administration',
21
  'Provides a framework for adding Administration pages',
22
- '0.14',
23
  'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
24
  'Photocrati Media',
25
  'https://www.imagely.com'
@@ -322,7 +322,7 @@ class M_NextGen_Admin extends C_Base_Module
322
 
323
  global $ngg_fs;
324
  // make sure we don't trigger the wizards if NGG Fremius is running or this is an AJAX request
325
- if (is_admin() && !M_Attach_To_Post::is_atp_url() && !isset($_REQUEST['attach_to_post']) && (!isset($ngg_fs) || !$ngg_fs->is_activation_mode()) && (!defined('DOING_AJAX') || !DOING_AJAX)) {
326
  $wizards->set_active(true);
327
  }
328
 
@@ -336,7 +336,7 @@ class M_NextGen_Admin extends C_Base_Module
336
  if ($mapper->count() == 0) {
337
  $wizard->set_active(true);
338
  $notices = C_Admin_Notification_Manager::get_instance();
339
- $notices->add('ngg_wizard_' . $wizard->get_id(), array("message" => __('Thanks for installing NextGEN Gallery! Want help creating your fist gallery?', 'nggallery') . ' <a data-ngg-wizard="' . $wizard->get_id() . '" class="ngg-wizard-invoker" href="' . esc_url(add_query_arg('ngg_wizard', $wizard->get_id())) . '">' . __('Launch the Gallery Wizard', 'nggallery') . '</a>. ' . __('If you close this message, you can also launch the Gallery Wizard at any time from the', 'nggallery') . ' <a href="' . esc_url(admin_url('admin.php?page=nextgen-gallery')) . '">' . __('NextGEN Overview page', 'nggallery') . '</a>.'));
340
  }
341
  else if (isset($_GET['page']) && $_GET['page'] == 'nextgen-gallery') {
342
  $wizard->set_active(true);
19
  'photocrati-nextgen_admin',
20
  'NextGEN Administration',
21
  'Provides a framework for adding Administration pages',
22
+ '0.15',
23
  'https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/',
24
  'Photocrati Media',
25
  'https://www.imagely.com'
322
 
323
  global $ngg_fs;
324
  // make sure we don't trigger the wizards if NGG Fremius is running or this is an AJAX request
325
+ if (isset($_REQUEST['ngg_dismiss_notice']) || (is_admin() && !M_Attach_To_Post::is_atp_url() && !isset($_REQUEST['attach_to_post']) && (!isset($ngg_fs) || !$ngg_fs->is_activation_mode()) && (!defined('DOING_AJAX') || !DOING_AJAX))) {
326
  $wizards->set_active(true);
327
  }
328
 
336
  if ($mapper->count() == 0) {
337
  $wizard->set_active(true);
338
  $notices = C_Admin_Notification_Manager::get_instance();
339
+ $notices->add('ngg_wizard_' . $wizard->get_id(), array("message" => __('Thanks for installing NextGEN Gallery! Want help creating your first gallery?', 'nggallery') . ' <a data-ngg-wizard="' . $wizard->get_id() . '" class="ngg-wizard-invoker" href="' . esc_url(add_query_arg('ngg_wizard', $wizard->get_id())) . '">' . __('Launch the Gallery Wizard', 'nggallery') . '</a>. ' . __('If you close this message, you can also launch the Gallery Wizard at any time from the', 'nggallery') . ' <a href="' . esc_url(admin_url('admin.php?page=nextgen-gallery')) . '">' . __('NextGEN Overview page', 'nggallery') . '</a>.'));
340
  }
341
  else if (isset($_GET['page']) && $_GET['page'] == 'nextgen-gallery') {
342
  $wizard->set_active(true);
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: photocrati, imagely
3
  Tags: gallery, wordpress gallery plugin, nextgen, nextgen gallery, photo gallery, photo album, photos, image gallery, image, images, photography, photographer, watermarking, responsive gallery, slideshow, thumbnail gallery, watermarking, watermark
4
  Requires at least: 4.0.0
5
- Stable tag: 2.1.61
6
  Tested up to: 4.7.0
7
  License: GPLv2
8
 
@@ -187,6 +187,10 @@ For more information, feel free to visit the official website for the NextGEN Ga
187
 
188
  == Changelog ==
189
 
 
 
 
 
190
  = V2.1.61 - 12.14.2016 =
191
  * NEW: Gallery creation wizard for new users
192
  * Fixed: Shortcodes in widgets not getting substituted in Divi
2
  Contributors: photocrati, imagely
3
  Tags: gallery, wordpress gallery plugin, nextgen, nextgen gallery, photo gallery, photo album, photos, image gallery, image, images, photography, photographer, watermarking, responsive gallery, slideshow, thumbnail gallery, watermarking, watermark
4
  Requires at least: 4.0.0
5
+ Stable tag: 2.1.62
6
  Tested up to: 4.7.0
7
  License: GPLv2
8
 
187
 
188
  == Changelog ==
189
 
190
+ = V2.1.62 - 12.15.2016 =
191
+ * Fixed: Typo in notice for launching the gallery wizard
192
+ * Fixed: The ability to dismiss the gallery wizard notice
193
+
194
  = V2.1.61 - 12.14.2016 =
195
  * NEW: Gallery creation wizard for new users
196
  * Fixed: Shortcodes in widgets not getting substituted in Divi