Photo Gallery by WD – Responsive Photo Gallery - Version 1.2.92

Version Description

  • Fixed: Autoplay in lightbox.
Download this release

Release Info

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

Code changes from version 1.2.91 to 1.2.92

featured/images/portfolio_gallery.png ADDED
Binary file
frontend/views/BWGViewGalleryBox.php CHANGED
@@ -1371,7 +1371,7 @@ class BWGViewGalleryBox {
1371
  });
1372
  if (typeof data[key] != 'undefined') {
1373
  if (typeof data[current_key] != 'undefined') {
1374
- if (jQuery(".bwg_play_pause") && !jQuery(".bwg_play_pause").hasClass("fa-play")) {
1375
  bwg_play();
1376
  }
1377
  if (!from_effect) {
@@ -2193,7 +2193,7 @@ class BWGViewGalleryBox {
2193
  });
2194
  /* Play/pause.*/
2195
  jQuery(".bwg_play_pause, .bwg_popup_image").on(bwg_click, function () {
2196
- if (jQuery(".bwg_play_pause") && jQuery(".bwg_play_pause").hasClass("fa-play")) {
2197
  /* Play.*/
2198
  bwg_play();
2199
  jQuery(".bwg_play_pause").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
@@ -2325,7 +2325,7 @@ class BWGViewGalleryBox {
2325
  }
2326
  jQuery(window).focus(function() {
2327
  /* event_stack = [];*/
2328
- if (jQuery(".bwg_play_pause") && !jQuery(".bwg_play_pause").hasClass("fa-play")) {
2329
  bwg_play();
2330
  }
2331
  /*var i = 0;
1371
  });
1372
  if (typeof data[key] != 'undefined') {
1373
  if (typeof data[current_key] != 'undefined') {
1374
+ if (jQuery(".bwg_play_pause").length && !jQuery(".bwg_play_pause").hasClass("fa-play")) {
1375
  bwg_play();
1376
  }
1377
  if (!from_effect) {
2193
  });
2194
  /* Play/pause.*/
2195
  jQuery(".bwg_play_pause, .bwg_popup_image").on(bwg_click, function () {
2196
+ if (jQuery(".bwg_play_pause").length && jQuery(".bwg_play_pause").hasClass("fa-play")) {
2197
  /* Play.*/
2198
  bwg_play();
2199
  jQuery(".bwg_play_pause").attr("title", "<?php echo __('Pause', 'bwg'); ?>");
2325
  }
2326
  jQuery(window).focus(function() {
2327
  /* event_stack = [];*/
2328
+ if (jQuery(".bwg_play_pause").length && !jQuery(".bwg_play_pause").hasClass("fa-play")) {
2329
  bwg_play();
2330
  }
2331
  /*var i = 0;
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.91
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1905,7 +1905,7 @@ function bwg_activate() {
1905
  ));
1906
  }
1907
  $version = get_option("wd_bwg_version");
1908
- $new_version = '1.2.91';
1909
  if ($version && version_compare($version, $new_version, '<')) {
1910
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1911
  bwg_update($version);
@@ -1953,7 +1953,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1953
 
1954
  function bwg_update_hook() {
1955
  $version = get_option("wd_bwg_version");
1956
- $new_version = '1.2.91';
1957
  if ($version && version_compare($version, $new_version, '<')) {
1958
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1959
  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.92
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1905
  ));
1906
  }
1907
  $version = get_option("wd_bwg_version");
1908
+ $new_version = '1.2.92';
1909
  if ($version && version_compare($version, $new_version, '<')) {
1910
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1911
  bwg_update($version);
1953
 
1954
  function bwg_update_hook() {
1955
  $version = get_option("wd_bwg_version");
1956
+ $new_version = '1.2.92';
1957
  if ($version && version_compare($version, $new_version, '<')) {
1958
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1959
  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.4
7
- Stable tag: 1.2.91
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.91 =
229
  * Fixed: Sort randomly in album views.
230
  * Added: Ligthbox background transparency.
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.4
7
+ Stable tag: 1.2.92
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.92 =
229
+ * Fixed: Autoplay in lightbox.
230
+
231
  = 1.2.91 =
232
  * Fixed: Sort randomly in album views.
233
  * Added: Ligthbox background transparency.