Photo Gallery by WD – Responsive Photo Gallery - Version 1.5.38

Version Description

  • Fixed: Bug breaking Sitemaps with Gallery Group shortcodes.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.5.38
Comparing to
See all releases

Code changes from version 1.5.37 to 1.5.38

Files changed (3) hide show
  1. framework/WDWSitemap.php +3 -2
  2. photo-gallery.php +3 -3
  3. readme.txt +5 -2
framework/WDWSitemap.php CHANGED
@@ -58,6 +58,7 @@ final class WDWSitemap {
58
 
59
  // 'gallery_type' is the only parameter not being checked.
60
  // Checking for incomplete shortcodes.
 
61
  $gallery_allowed_types = array(
62
  'thumbnails',
63
  'thumbnails_masonry',
@@ -66,9 +67,9 @@ final class WDWSitemap {
66
  'image_browser',
67
  'blog_style',
68
  'carousel',
69
- 'album_compact_preview',
70
  'album_masonry_preview',
71
- 'album_extended_preview',
72
  );
73
  if ( isset($params['gallery_type']) && in_array($params['gallery_type'], $gallery_allowed_types) ) {
74
  $pairs = WDWLibrary::get_shortcode_option_params( $params );
58
 
59
  // 'gallery_type' is the only parameter not being checked.
60
  // Checking for incomplete shortcodes.
61
+ // TODO: Gallery group types are commented till the bug with Yoast sitemap is fixed.
62
  $gallery_allowed_types = array(
63
  'thumbnails',
64
  'thumbnails_masonry',
67
  'image_browser',
68
  'blog_style',
69
  'carousel',
70
+ /*'album_compact_preview',
71
  'album_masonry_preview',
72
+ 'album_extended_preview',*/
73
  );
74
  if ( isset($params['gallery_type']) && in_array($params['gallery_type'], $gallery_allowed_types) ) {
75
  $pairs = WDWLibrary::get_shortcode_option_params( $params );
photo-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
5
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
6
- * Version: 1.5.37
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -84,8 +84,8 @@ final class BWG {
84
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
85
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
86
  $this->main_file = plugin_basename(__FILE__);
87
- $this->plugin_version = '1.5.37';
88
- $this->db_version = '1.5.37';
89
  $this->prefix = 'bwg';
90
  $this->nicename = __('Photo Gallery', $this->prefix);
91
 
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/?utm_source=photo_gallery&utm_medium=free_plugin
5
  * Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
6
+ * Version: 1.5.38
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/plugins/?utm_source=photo_gallery&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
84
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
85
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
86
  $this->main_file = plugin_basename(__FILE__);
87
+ $this->plugin_version = '1.5.38';
88
+ $this->db_version = '1.5.38';
89
  $this->prefix = 'bwg';
90
  $this->nicename = __('Photo Gallery', $this->prefix);
91
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: webdorado,wdsupport,photogallerysupport,10web
3
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
4
  Requires at least: 3.4
5
- Tested up to: 5.2
6
- Stable tag: 1.5.37
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -282,6 +282,9 @@ Choose whether to display random or the first/last specific number of images.
282
 
283
  == Changelog ==
284
 
 
 
 
285
  = 1.5.37 =
286
  * Fixed: View count.
287
  * Fixed: Galleries/gallery groups bulk deleting.
2
  Contributors: webdorado,wdsupport,photogallerysupport,10web
3
  Tags: gallery, photo gallery, image gallery, responsive gallery, wordpress gallery plugin, photo albums, gallery slider, gallery lightbox, wordpress photo gallery plugin, fullscreen gallery, watermarking, video gallery
4
  Requires at least: 3.4
5
+ Tested up to: 5.3
6
+ Stable tag: 1.5.38
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
282
 
283
  == Changelog ==
284
 
285
+ = 1.5.38 =
286
+ * Fixed: Bug breaking Sitemaps with Gallery Group shortcodes.
287
+
288
  = 1.5.37 =
289
  * Fixed: View count.
290
  * Fixed: Galleries/gallery groups bulk deleting.