Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.101

Version Description

  • Fixed: Security issue
Download this release

Release Info

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

Code changes from version 1.2.100 to 1.2.101

framework/WDWLibrary.php CHANGED
@@ -925,6 +925,22 @@ class WDWLibrary {
925
  )%xs', '', $string);
926
  }
927
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
928
  ////////////////////////////////////////////////////////////////////////////////////////
929
  // Private Methods //
930
  ////////////////////////////////////////////////////////////////////////////////////////
925
  )%xs', '', $string);
926
  }
927
 
928
+ public static function esc_script($method = '', $index = '', $default = '', $type = 'string') {
929
+ if ($method == 'post') {
930
+ $escaped_value = ((isset($_POST[$index]) && preg_match("/^[A-Za-z0-9_]+$/", $_POST[$index])) ? esc_js($_POST[$index]) : $default);
931
+ }
932
+ elseif ($method == 'get') {
933
+ $escaped_value = ((isset($_GET[$index]) && preg_match("/^[A-Za-z0-9_]+$/", $_GET[$index])) ? esc_js($_GET[$index]) : $default);
934
+ }
935
+ else {
936
+ $escaped_value = (preg_match("/^[a-zA-Z0-9]", $index) ? esc_js($index) : $default);
937
+ }
938
+ if ($type == 'int') {
939
+ $escaped_value = (int) $escaped_value;
940
+ }
941
+ return $escaped_value;
942
+ }
943
+
944
  ////////////////////////////////////////////////////////////////////////////////////////
945
  // Private Methods //
946
  ////////////////////////////////////////////////////////////////////////////////////////
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -24,17 +24,17 @@ class BWGViewGalleryBox {
24
  global $WD_BWG_UPLOAD_DIR;
25
  require_once(WD_BWG_DIR . '/framework/WDWLibraryEmbed.php');
26
  $tag_id = (isset($_GET['tag_id']) ? esc_html($_GET['tag_id']) : 0);
27
- $gallery_id = (isset($_GET['gallery_id']) ? esc_html($_GET['gallery_id']) : 0);
28
  $bwg = (isset($_GET['current_view']) ? esc_html($_GET['current_view']) : 0);
29
- $current_image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : 0);
30
  $theme_id = (isset($_GET['theme_id']) ? esc_html($_GET['theme_id']) : 1);
31
  $thumb_width = (isset($_GET['thumb_width']) ? esc_html($_GET['thumb_width']) : 120);
32
  $thumb_height = (isset($_GET['thumb_height']) ? esc_html($_GET['thumb_height']) : 90);
33
- $open_with_fullscreen = (isset($_GET['open_with_fullscreen']) ? esc_html($_GET['open_with_fullscreen']) : 0);
34
- $open_with_autoplay = (isset($_GET['open_with_autoplay']) ? esc_html($_GET['open_with_autoplay']) : 0);
35
- $image_width = (isset($_GET['image_width']) ? esc_html($_GET['image_width']) : 800);
36
- $image_height = (isset($_GET['image_height']) ? esc_html($_GET['image_height']) : 500);
37
- $image_effect = ((isset($_GET['image_effect']) && esc_html($_GET['image_effect'])) ? esc_html($_GET['image_effect']) : 'fade');
38
  $sort_by = (isset($_GET['wd_sor']) ? esc_html($_GET['wd_sor']) : 'order');
39
  $order_by = (isset($_GET['wd_ord']) ? esc_html($_GET['wd_ord']) : 'asc');
40
  $enable_image_filmstrip = FALSE;
@@ -42,19 +42,8 @@ class BWGViewGalleryBox {
42
  $popup_enable_info = (isset($_GET['popup_enable_info']) ? esc_html($_GET['popup_enable_info']) : 1);
43
  $popup_info_always_show = (isset($_GET['popup_info_always_show']) ? esc_html($_GET['popup_info_always_show']) : 0);
44
  $popup_info_full_width = (isset($_GET['popup_info_full_width']) ? esc_html($_GET['popup_info_full_width']) : 0);
45
- $popup_enable_rate = (isset($_GET['popup_enable_rate']) ? esc_html($_GET['popup_enable_rate']) : 0);
46
  $popup_hit_counter = (isset($_GET['popup_hit_counter']) ? esc_html($_GET['popup_hit_counter']) : 0);
47
- $show_tag_box = (isset($_GET['show_tag_box']) ? esc_html($_GET['show_tag_box']) : 0);
48
-
49
- if ($enable_image_filmstrip) {
50
- $image_filmstrip_height = (isset($_GET['image_filmstrip_height']) ? esc_html($_GET['image_filmstrip_height']) : '20');
51
- $thumb_ratio = $thumb_width / $thumb_height;
52
- $image_filmstrip_width = round($thumb_ratio * $image_filmstrip_height);
53
- }
54
- else {
55
- $image_filmstrip_height = 0;
56
- $image_filmstrip_width = 0;
57
- }
58
 
59
  $slideshow_interval = (isset($_GET['slideshow_interval']) ? (int) $_GET['slideshow_interval'] : 5);
60
  $enable_image_ctrl_btn = (isset($_GET['enable_image_ctrl_btn']) ? esc_html($_GET['enable_image_ctrl_btn']) : 0);
@@ -80,6 +69,8 @@ class BWGViewGalleryBox {
80
  $theme_row = $this->model->get_theme_row_data($theme_id);
81
  $option_row = $this->model->get_option_row_data();
82
  $image_right_click = $option_row->image_right_click;
 
 
83
 
84
  if ($tag_id != 0) {
85
  $image_rows = $this->model->get_image_rows_data_tag($tag_id, $sort_by, $order_by);
24
  global $WD_BWG_UPLOAD_DIR;
25
  require_once(WD_BWG_DIR . '/framework/WDWLibraryEmbed.php');
26
  $tag_id = (isset($_GET['tag_id']) ? esc_html($_GET['tag_id']) : 0);
27
+ $gallery_id = WDWLibrary::esc_script('get', 'gallery_id', 0, 'int');
28
  $bwg = (isset($_GET['current_view']) ? esc_html($_GET['current_view']) : 0);
29
+ $current_image_id = WDWLibrary::esc_script('get', 'image_id', 0, 'int');
30
  $theme_id = (isset($_GET['theme_id']) ? esc_html($_GET['theme_id']) : 1);
31
  $thumb_width = (isset($_GET['thumb_width']) ? esc_html($_GET['thumb_width']) : 120);
32
  $thumb_height = (isset($_GET['thumb_height']) ? esc_html($_GET['thumb_height']) : 90);
33
+ $open_with_fullscreen = WDWLibrary::esc_script('get', 'open_with_fullscreen', 0, 'int');
34
+ $open_with_autoplay = WDWLibrary::esc_script('get', 'open_with_autoplay', 0, 'int');
35
+ $image_width = WDWLibrary::esc_script('get', 'image_width', 800, 'int');
36
+ $image_height = WDWLibrary::esc_script('get', 'image_height', 500, 'int');
37
+ $image_effect = WDWLibrary::esc_script('get', 'image_effect', 'fade');
38
  $sort_by = (isset($_GET['wd_sor']) ? esc_html($_GET['wd_sor']) : 'order');
39
  $order_by = (isset($_GET['wd_ord']) ? esc_html($_GET['wd_ord']) : 'asc');
40
  $enable_image_filmstrip = FALSE;
42
  $popup_enable_info = (isset($_GET['popup_enable_info']) ? esc_html($_GET['popup_enable_info']) : 1);
43
  $popup_info_always_show = (isset($_GET['popup_info_always_show']) ? esc_html($_GET['popup_info_always_show']) : 0);
44
  $popup_info_full_width = (isset($_GET['popup_info_full_width']) ? esc_html($_GET['popup_info_full_width']) : 0);
45
+ $popup_enable_rate = WDWLibrary::esc_script('get', 'popup_enable_rate', 0, 'int');
46
  $popup_hit_counter = (isset($_GET['popup_hit_counter']) ? esc_html($_GET['popup_hit_counter']) : 0);
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  $slideshow_interval = (isset($_GET['slideshow_interval']) ? (int) $_GET['slideshow_interval'] : 5);
49
  $enable_image_ctrl_btn = (isset($_GET['enable_image_ctrl_btn']) ? esc_html($_GET['enable_image_ctrl_btn']) : 0);
69
  $theme_row = $this->model->get_theme_row_data($theme_id);
70
  $option_row = $this->model->get_option_row_data();
71
  $image_right_click = $option_row->image_right_click;
72
+ $image_filmstrip_height = 0;
73
+ $image_filmstrip_width = 0;
74
 
75
  if ($tag_id != 0) {
76
  $image_rows = $this->model->get_image_rows_data_tag($tag_id, $sort_by, $order_by);
frontend/views/BWGViewSlideshow.php CHANGED
@@ -746,9 +746,9 @@ class BWGViewSlideshow {
746
  <?php
747
  if ($enable_slideshow_ctrl) {
748
  ?>
749
- <a id="spider_slideshow_left_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + data_<?php echo $bwg; ?>.length - iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_left-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_prev_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-left"></i></span></span></a>
750
  <span id="bwg_slideshow_play_pause_<?php echo $bwg; ?>" style="display: <?php echo $play_pause_button_display; ?>;"><span><span id="bwg_slideshow_play_pause-ico_<?php echo $bwg; ?>"><i class="bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-play"></i></span></span></span>
751
- <a id="spider_slideshow_right_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_right-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_next_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-right"></i></span></span></a>
752
  <?php
753
  }
754
  ?>
@@ -1209,7 +1209,7 @@ class BWGViewSlideshow {
1209
  function bwg_blindH_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
1210
  bwg_grid_<?php echo $bwg; ?>(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
1211
  }
1212
- function iterator_<?php echo $bwg; ?>() {
1213
  var iterator = 1;
1214
  if (<?php echo $enable_slideshow_shuffle; ?>) {
1215
  iterator = Math.floor((data_<?php echo $bwg; ?>.length - 1) * Math.random() + 1);
@@ -1225,7 +1225,7 @@ class BWGViewSlideshow {
1225
  });
1226
  if (data_<?php echo $bwg; ?>[key]) {
1227
  if (jQuery('.bwg_ctrl_btn_<?php echo $bwg; ?>').hasClass('fa-pause')) {
1228
- play_<?php echo $bwg; ?>();
1229
  }
1230
  if (!from_effect) {
1231
  /* Change image key.*/
@@ -1348,7 +1348,7 @@ class BWGViewSlideshow {
1348
  if (typeof jQuery().swiperight !== 'undefined') {
1349
  if (jQuery.isFunction(jQuery().swiperight)) {
1350
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swiperight(function () {
1351
- bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length : data_<?php echo $bwg; ?>.length - 1, data_<?php echo $bwg; ?>);
1352
  return false;
1353
  });
1354
  }
@@ -1356,7 +1356,7 @@ class BWGViewSlideshow {
1356
  if (typeof jQuery().swipeleft !== 'undefined') {
1357
  if (jQuery.isFunction(jQuery().swipeleft)) {
1358
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swipeleft(function () {
1359
- bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>);
1360
  return false;
1361
  });
1362
  }
@@ -1430,7 +1430,7 @@ class BWGViewSlideshow {
1430
  /* Play/pause.*/
1431
  jQuery("#bwg_slideshow_play_pause_<?php echo $bwg; ?>").on(bwg_click, function () {
1432
  if (jQuery(".bwg_ctrl_btn_<?php echo $bwg; ?>").hasClass("fa-play")) {
1433
- play_<?php echo $bwg; ?>();
1434
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
1435
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("class", "bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-pause");
1436
  if (<?php echo $enable_slideshow_music ?>) {
@@ -1448,7 +1448,7 @@ class BWGViewSlideshow {
1448
  }
1449
  });
1450
  if (<?php echo $enable_slideshow_autoplay; ?>) {
1451
- play_<?php echo $bwg; ?>();
1452
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
1453
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("class", "bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-pause");
1454
  if (<?php echo $enable_slideshow_music ?>) {
@@ -1493,7 +1493,7 @@ class BWGViewSlideshow {
1493
  }
1494
  bwg_change_watermark_container_<?php echo $bwg; ?>();
1495
  }
1496
- function play_<?php echo $bwg; ?>() {
1497
  window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
1498
  /* Play.*/
1499
  bwg_playInterval_<?php echo $bwg; ?> = setInterval(function () {
@@ -1507,7 +1507,7 @@ class BWGViewSlideshow {
1507
  jQuery(window).focus(function() {
1508
  /* event_stack_<?php echo $bwg; ?> = [];*/
1509
  if (!jQuery(".bwg_ctrl_btn_<?php echo $bwg; ?>").hasClass("fa-play")) {
1510
- play_<?php echo $bwg; ?>();
1511
  }
1512
  var i_<?php echo $bwg; ?> = 0;
1513
  jQuery(".bwg_slider_<?php echo $bwg; ?>").children("span").each(function () {
746
  <?php
747
  if ($enable_slideshow_ctrl) {
748
  ?>
749
+ <a id="spider_slideshow_left_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + data_<?php echo $bwg; ?>.length - bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_left-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_prev_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-left"></i></span></span></a>
750
  <span id="bwg_slideshow_play_pause_<?php echo $bwg; ?>" style="display: <?php echo $play_pause_button_display; ?>;"><span><span id="bwg_slideshow_play_pause-ico_<?php echo $bwg; ?>"><i class="bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-play"></i></span></span></span>
751
+ <a id="spider_slideshow_right_<?php echo $bwg; ?>" onclick="bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>); return false;"><span id="spider_slideshow_right-ico_<?php echo $bwg; ?>"><span><i class="bwg_slideshow_next_btn_<?php echo $bwg; ?> fa <?php echo $theme_row->slideshow_rl_btn_style; ?>-right"></i></span></span></a>
752
  <?php
753
  }
754
  ?>
1209
  function bwg_blindH_<?php echo $bwg; ?>(current_image_class, next_image_class, direction) {
1210
  bwg_grid_<?php echo $bwg; ?>(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);
1211
  }
1212
+ function bwg_iterator_<?php echo $bwg; ?>() {
1213
  var iterator = 1;
1214
  if (<?php echo $enable_slideshow_shuffle; ?>) {
1215
  iterator = Math.floor((data_<?php echo $bwg; ?>.length - 1) * Math.random() + 1);
1225
  });
1226
  if (data_<?php echo $bwg; ?>[key]) {
1227
  if (jQuery('.bwg_ctrl_btn_<?php echo $bwg; ?>').hasClass('fa-pause')) {
1228
+ bwg_play_<?php echo $bwg; ?>();
1229
  }
1230
  if (!from_effect) {
1231
  /* Change image key.*/
1348
  if (typeof jQuery().swiperight !== 'undefined') {
1349
  if (jQuery.isFunction(jQuery().swiperight)) {
1350
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swiperight(function () {
1351
+ bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - bwg_iterator_<?php echo $bwg; ?>()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) - bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length : data_<?php echo $bwg; ?>.length - 1, data_<?php echo $bwg; ?>);
1352
  return false;
1353
  });
1354
  }
1356
  if (typeof jQuery().swipeleft !== 'undefined') {
1357
  if (jQuery.isFunction(jQuery().swipeleft)) {
1358
  jQuery('#bwg_container1_<?php echo $bwg; ?>').swipeleft(function () {
1359
+ bwg_change_image_<?php echo $bwg; ?>(parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()), (parseInt(jQuery('#bwg_current_image_key_<?php echo $bwg; ?>').val()) + bwg_iterator_<?php echo $bwg; ?>()) % data_<?php echo $bwg; ?>.length, data_<?php echo $bwg; ?>);
1360
  return false;
1361
  });
1362
  }
1430
  /* Play/pause.*/
1431
  jQuery("#bwg_slideshow_play_pause_<?php echo $bwg; ?>").on(bwg_click, function () {
1432
  if (jQuery(".bwg_ctrl_btn_<?php echo $bwg; ?>").hasClass("fa-play")) {
1433
+ bwg_play_<?php echo $bwg; ?>();
1434
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
1435
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("class", "bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-pause");
1436
  if (<?php echo $enable_slideshow_music ?>) {
1448
  }
1449
  });
1450
  if (<?php echo $enable_slideshow_autoplay; ?>) {
1451
+ bwg_play_<?php echo $bwg; ?>();
1452
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
1453
  jQuery(".bwg_slideshow_play_pause_<?php echo $bwg; ?>").attr("class", "bwg_ctrl_btn_<?php echo $bwg; ?> bwg_slideshow_play_pause_<?php echo $bwg; ?> fa fa-pause");
1454
  if (<?php echo $enable_slideshow_music ?>) {
1493
  }
1494
  bwg_change_watermark_container_<?php echo $bwg; ?>();
1495
  }
1496
+ function bwg_play_<?php echo $bwg; ?>() {
1497
  window.clearInterval(bwg_playInterval_<?php echo $bwg; ?>);
1498
  /* Play.*/
1499
  bwg_playInterval_<?php echo $bwg; ?> = setInterval(function () {
1507
  jQuery(window).focus(function() {
1508
  /* event_stack_<?php echo $bwg; ?> = [];*/
1509
  if (!jQuery(".bwg_ctrl_btn_<?php echo $bwg; ?>").hasClass("fa-play")) {
1510
+ bwg_play_<?php echo $bwg; ?>();
1511
  }
1512
  var i_<?php echo $bwg; ?> = 0;
1513
  jQuery(".bwg_slider_<?php echo $bwg; ?>").children("span").each(function () {
photo-gallery.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * 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.
7
- * Version: 1.2.100
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1911,7 +1911,7 @@ function bwg_activate() {
1911
  ));
1912
  }
1913
  $version = get_option("wd_bwg_version");
1914
- $new_version = '1.2.100';
1915
  if ($version && version_compare($version, $new_version, '<')) {
1916
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1917
  bwg_update($version);
@@ -1965,7 +1965,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1965
 
1966
  function bwg_update_hook() {
1967
  $version = get_option("wd_bwg_version");
1968
- $new_version = '1.2.100';
1969
  if ($version && version_compare($version, $new_version, '<')) {
1970
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1971
  bwg_update($version);
4
  * Plugin Name: Photo Gallery
5
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
6
  * 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.
7
+ * Version: 1.2.101
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1911
  ));
1912
  }
1913
  $version = get_option("wd_bwg_version");
1914
+ $new_version = '1.2.101';
1915
  if ($version && version_compare($version, $new_version, '<')) {
1916
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1917
  bwg_update($version);
1965
 
1966
  function bwg_update_hook() {
1967
  $version = get_option("wd_bwg_version");
1968
+ $new_version = '1.2.101';
1969
  if ($version && version_compare($version, $new_version, '<')) {
1970
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1971
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic, facebook integration, instagram feed, Flickr, Dailymotion, widget, youtube gallery, ecommerce
5
  Requires at least: 3.4
6
  Tested up to: 4.5
7
- Stable tag: 1.2.100
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -225,6 +225,9 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
225
 
226
  == Changelog ==
227
 
 
 
 
228
  = 1.2.100 =
229
  * Fixed: Add facebook single video.
230
  * Fixed: Styles on Wordpress 4.5.
4
  Tags: photo, photo gallery, image gallery, video gallery, gallery, galleries, wordpress gallery plugin, images gallery, album, photo albums, simple gallery, best gallery plugin, free photo gallery, wp gallery, wordpress gallery, website gallery, gallery shortcode, best gallery, picture, pictures, gallery slider, photo album, photogallery, widget gallery, image, images, photos, gallery lightbox, photoset, wordpress photo gallery plugin, wp gallery plugins, responsive wordpress photo gallery, media, image album, filterable gallery, banner rotator, fullscreen gallery, responsive gallery, add album, add gallery, add pictures, fotoalbum, foto, gallery decription, multiple pictures, photoalbum, upload images, upload photos, view images, view pictures, admin, AJAX, comments, gallery image, image lightbox, image rotate, image slideshow, image slider, jquery, jquery gallery, slide show, slideshow, thumbnail, thumbnail view, thumbnails, thumbs, responsive, watermarking, watermarks,fullscreen slider, lightbox, photography, sidebar, slide, youtube, vimeo, videos, instagram, facebook, mosaic, facebook integration, instagram feed, Flickr, Dailymotion, widget, youtube gallery, ecommerce
5
  Requires at least: 3.4
6
  Tested up to: 4.5
7
+ Stable tag: 1.2.101
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
225
 
226
  == Changelog ==
227
 
228
+ = 1.2.101 =
229
+ * Fixed: Security issue
230
+
231
  = 1.2.100 =
232
  * Fixed: Add facebook single video.
233
  * Fixed: Styles on Wordpress 4.5.