Photo Gallery by WD – Responsive Photo Gallery - Version 1.5.43

Version Description

  • Fixed: Elementor widget.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.5.43
Comparing to
See all releases

Code changes from version 1.5.42 to 1.5.43

admin/controllers/elementorWidget.php CHANGED
@@ -125,7 +125,16 @@ class BWGElementor extends \Elementor\Widget_Base {
125
  protected function render() {
126
  $settings = $this->get_settings_for_display();
127
  $params = array();
128
- $params['id'] = isset($settings['bwg_view_type_shortcode']) ? $settings['bwg_view_type_shortcode'] : 0;
 
 
 
 
 
 
 
 
 
129
 
130
  if ( doing_filter('wd_seo_sitemap_images') || doing_filter('wpseo_sitemap_urlimages') ) {
131
  WDWSitemap::instance()->shortcode();
125
  protected function render() {
126
  $settings = $this->get_settings_for_display();
127
  $params = array();
128
+ if ( !isset($settings['bwg_view_type_shortcode']) ) {
129
+ $params['gallery_type'] = isset($settings['bwg_gallery_view_type']) ? $settings['bwg_gallery_view_type'] : (isset($settings['bwg_gallery_group_view_type']) ? $settings['bwg_gallery_group_view_type'] : '');
130
+ $params['gallery_id'] = isset($settings['bwg_galleries']) ? $settings['bwg_galleries'] : '';
131
+ $params['tag'] = isset($settings['bwg_tags']) ? $settings['bwg_tags'] : '';
132
+ $params['album_id'] = isset($settings['bwg_gallery_group']) ? $settings['bwg_gallery_group'] : '';
133
+ $params['theme_id'] = isset($settings['bwg_theme']) ? $settings['bwg_theme'] : '';
134
+ }
135
+ else {
136
+ $params['id'] = isset($settings['bwg_view_type_shortcode']) ? $settings['bwg_view_type_shortcode'] : 0;
137
+ }
138
 
139
  if ( doing_filter('wd_seo_sitemap_images') || doing_filter('wpseo_sitemap_urlimages') ) {
140
  WDWSitemap::instance()->shortcode();
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.42
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
@@ -86,8 +86,8 @@ final class BWG {
86
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
87
  $this->front_url = $this->plugin_url;
88
  $this->main_file = plugin_basename(__FILE__);
89
- $this->plugin_version = '1.5.42';
90
- $this->db_version = '1.5.42';
91
  $this->prefix = 'bwg';
92
  $this->nicename = __('Photo Gallery', $this->prefix);
93
 
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.43
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
86
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
87
  $this->front_url = $this->plugin_url;
88
  $this->main_file = plugin_basename(__FILE__);
89
+ $this->plugin_version = '1.5.43';
90
+ $this->db_version = '1.5.43';
91
  $this->prefix = 'bwg';
92
  $this->nicename = __('Photo Gallery', $this->prefix);
93
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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.42
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.42 =
286
  * Added: Shortcode options to Elementor widget.
287
  * Added: Possibility to add image description to thumbnail view.
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.43
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.43 =
286
+ * Fixed: Elementor widget.
287
+
288
  = 1.5.42 =
289
  * Added: Shortcode options to Elementor widget.
290
  * Added: Possibility to add image description to thumbnail view.