Photo Gallery by WD – Responsive Photo Gallery - Version 1.5.48

Version Description

  • Fixed: Minor issue.
Download this release

Release Info

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

Code changes from version 1.5.47 to 1.5.48

admin/views/Editimage.php CHANGED
@@ -462,7 +462,7 @@ class EditimageView_bwg {
462
  $contrast_val = WDWLibrary::get('contrast_val', 0, 'intval');
463
  $image_data = new stdClass();
464
  $modified_date = time();
465
- if ( !empty(WDWLibrary::get('image_url')) ) {
466
  $image_data->image_url = WDWLibrary::get('image_url', '', 'esc_url_raw');
467
  $image_data->thumb_url = WDWLibrary::get('thumb_url', '', 'esc_url_raw');
468
  $filename = htmlspecialchars_decode(BWG()->upload_dir . $image_data->image_url, ENT_COMPAT | ENT_QUOTES);
462
  $contrast_val = WDWLibrary::get('contrast_val', 0, 'intval');
463
  $image_data = new stdClass();
464
  $modified_date = time();
465
+ if ( WDWLibrary::get('image_url') ) {
466
  $image_data->image_url = WDWLibrary::get('image_url', '', 'esc_url_raw');
467
  $image_data->thumb_url = WDWLibrary::get('thumb_url', '', 'esc_url_raw');
468
  $filename = htmlspecialchars_decode(BWG()->upload_dir . $image_data->image_url, ENT_COMPAT | ENT_QUOTES);
frontend/models/model.php CHANGED
@@ -130,7 +130,7 @@ class BWGModelSite {
130
  $where .= ($gallery_id ? ' AND image.gallery_id = "' . $gallery_id . '" ' : '') . ($tag ? ' AND tag.tag_id = "' . $tag . '" ' : '');
131
  $join = $tag ? 'LEFT JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id' : '';
132
 
133
- if ( !empty(WDWLibrary::get($tag_input_name)) ) {
134
  if ( !BWG()->options->tags_filter_and_or ) {
135
  // To find images which have at least one from tags filtered by.
136
  $compare_sign = "|";
130
  $where .= ($gallery_id ? ' AND image.gallery_id = "' . $gallery_id . '" ' : '') . ($tag ? ' AND tag.tag_id = "' . $tag . '" ' : '');
131
  $join = $tag ? 'LEFT JOIN ' . $wpdb->prefix . 'bwg_image_tag as tag ON image.id=tag.image_id' : '';
132
 
133
+ if ( WDWLibrary::get($tag_input_name) ) {
134
  if ( !BWG()->options->tags_filter_and_or ) {
135
  // To find images which have at least one from tags filtered by.
136
  $compare_sign = "|";
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -1028,7 +1028,7 @@ class BWGViewGalleryBox {
1028
  onclick="comment_check_privacy_policy()"
1029
  ontouchend="comment_check_privacy_policy()"
1030
  type="checkbox"
1031
- value="1" <?php echo (!empty(WDWLibrary::get('bwg_comment_privacy_policy')) ? 'checked' : ''); ?> />
1032
  <?php
1033
  $privacy_policy_text = __('I consent collecting this data and processing it according to %s of this website.', BWG()->prefix);
1034
  $privacy_policy_link = ' <a href="' . WDWLibrary::get_privacy_policy_url() . '" target="_blank">' . __('Privacy Policy', BWG()->prefix) . '</a>';
1028
  onclick="comment_check_privacy_policy()"
1029
  ontouchend="comment_check_privacy_policy()"
1030
  type="checkbox"
1031
+ value="1" <?php echo (WDWLibrary::get('bwg_comment_privacy_policy') ? 'checked' : ''); ?> />
1032
  <?php
1033
  $privacy_policy_text = __('I consent collecting this data and processing it according to %s of this website.', BWG()->prefix);
1034
  $privacy_policy_link = ' <a href="' . WDWLibrary::get_privacy_policy_url() . '" target="_blank">' . __('Privacy Policy', BWG()->prefix) . '</a>';
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.47
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.47';
90
- $this->db_version = '1.5.47';
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.48
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.48';
90
+ $this->db_version = '1.5.48';
91
  $this->prefix = 'bwg';
92
  $this->nicename = __('Photo Gallery', $this->prefix);
93
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Photo Gallery by 10Web - Mobile-Friendly Image Gallery ===
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.47
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.47 =
286
  * Fixed: Inserting gallery with PHP code.
287
 
1
  === Photo Gallery by 10Web - Mobile-Friendly Image Gallery ===
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: 4.6
5
  Tested up to: 5.3
6
+ Stable tag: 1.5.48
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.48 =
286
+ * Fixed: Minor issue.
287
+
288
  = 1.5.47 =
289
  * Fixed: Inserting gallery with PHP code.
290