Photo Gallery by WD – Responsive Photo Gallery - Version 1.4.11

Version Description

  • Fixed: Bug on displaying embed media.
  • Fixed: Bug on opening lightbox with embed media.
Download this release

Release Info

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

Code changes from version 1.4.10 to 1.4.11

Files changed (3) hide show
  1. js/bwg_gallery_box.js +1 -1
  2. photo-gallery.php +5 -5
  3. readme.txt +5 -1
js/bwg_gallery_box.js CHANGED
@@ -39,7 +39,7 @@ function spider_createpopup(url, current_view, width, height, duration, descript
39
 
40
  function spider_showpopup(description, lifetime, popup, duration, lightbox_ctrl_btn_pos) {
41
  isPopUpOpened = true;
42
- if ( jQuery('#spider_popup_wrap .bwg_popup_image_spun img').prop('complete') ) {
43
  // Already loaded.
44
  popup.show();
45
  jQuery(".bwg_spider_popup_loading").hide();
39
 
40
  function spider_showpopup(description, lifetime, popup, duration, lightbox_ctrl_btn_pos) {
41
  isPopUpOpened = true;
42
+ if ( !jQuery('#spider_popup_wrap .bwg_popup_image_spun img').length || jQuery('#spider_popup_wrap .bwg_popup_image_spun img').prop('complete') ) {
43
  // Already loaded.
44
  popup.show();
45
  jQuery(".bwg_spider_popup_loading").hide();
photo-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/
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.4.10
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/pricing/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -80,8 +80,8 @@ final class BWG {
80
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
81
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
82
  $this->main_file = plugin_basename(__FILE__);
83
- $this->plugin_version = '1.4.10';
84
- $this->db_version = '1.4.10';
85
  $this->prefix = 'bwg';
86
  $this->nicename = __('Photo Gallery', $this->prefix);
87
 
@@ -1080,8 +1080,8 @@ final class BWG {
1080
  wp_register_style('bwg_mCustomScrollbar', BWG()->front_url . '/css/jquery.mCustomScrollbar.css', array(), $version);
1081
  wp_register_script('jquery-fullscreen', BWG()->front_url . '/js/jquery.fullscreen-0.4.1.js', array('jquery'), '0.4.1');
1082
  wp_register_script('bwg_gallery_box', BWG()->front_url . '/js/bwg_gallery_box.js', array('jquery'), $version);
 
1083
  if ( $this->is_pro ) {
1084
- wp_register_script('bwg_embed', BWG()->front_url . '/js/bwg_embed.js', array('jquery'), $version);
1085
  wp_register_script('bwg_raty', BWG()->front_url . '/js/jquery.raty.js', array( 'jquery' ), '2.5.2');
1086
  wp_register_script('bwg_featureCarousel', BWG()->plugin_url . '/js/jquery.featureCarousel.js', array( 'jquery' ), $version);
1087
  // 3D Tag Cloud.
@@ -1127,8 +1127,8 @@ final class BWG {
1127
  wp_enqueue_script('bwg_mCustomScrollbar');
1128
  wp_enqueue_script('jquery-fullscreen');
1129
  wp_enqueue_script('bwg_gallery_box');
 
1130
  if ( $this->is_pro ) {
1131
- wp_enqueue_script('bwg_embed');
1132
  wp_enqueue_script('bwg_raty');
1133
  wp_enqueue_script('bwg_featureCarousel');
1134
  wp_enqueue_script('bwg_3DEngine');
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://10web.io/plugins/wordpress-photo-gallery/
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.4.11
7
  * Author: Photo Gallery Team
8
  * Author URI: https://10web.io/pricing/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
80
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
81
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
82
  $this->main_file = plugin_basename(__FILE__);
83
+ $this->plugin_version = '1.4.11';
84
+ $this->db_version = '1.4.11';
85
  $this->prefix = 'bwg';
86
  $this->nicename = __('Photo Gallery', $this->prefix);
87
 
1080
  wp_register_style('bwg_mCustomScrollbar', BWG()->front_url . '/css/jquery.mCustomScrollbar.css', array(), $version);
1081
  wp_register_script('jquery-fullscreen', BWG()->front_url . '/js/jquery.fullscreen-0.4.1.js', array('jquery'), '0.4.1');
1082
  wp_register_script('bwg_gallery_box', BWG()->front_url . '/js/bwg_gallery_box.js', array('jquery'), $version);
1083
+ wp_register_script('bwg_embed', BWG()->front_url . '/js/bwg_embed.js', array('jquery'), $version);
1084
  if ( $this->is_pro ) {
 
1085
  wp_register_script('bwg_raty', BWG()->front_url . '/js/jquery.raty.js', array( 'jquery' ), '2.5.2');
1086
  wp_register_script('bwg_featureCarousel', BWG()->plugin_url . '/js/jquery.featureCarousel.js', array( 'jquery' ), $version);
1087
  // 3D Tag Cloud.
1127
  wp_enqueue_script('bwg_mCustomScrollbar');
1128
  wp_enqueue_script('jquery-fullscreen');
1129
  wp_enqueue_script('bwg_gallery_box');
1130
+ wp_enqueue_script('bwg_embed');
1131
  if ( $this->is_pro ) {
 
1132
  wp_enqueue_script('bwg_raty');
1133
  wp_enqueue_script('bwg_featureCarousel');
1134
  wp_enqueue_script('bwg_3DEngine');
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: 4.9
6
- Stable tag: 1.4.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -279,6 +279,10 @@ Choose whether to display random or the first/last specific number of images.
279
 
280
  == Changelog ==
281
 
 
 
 
 
282
  = 1.4.10 =
283
  * Changed: Separate buttons for deactivation.
284
 
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: 4.9
6
+ Stable tag: 1.4.11
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
279
 
280
  == Changelog ==
281
 
282
+ = 1.4.11 =
283
+ * Fixed: Bug on displaying embed media.
284
+ * Fixed: Bug on opening lightbox with embed media.
285
+
286
  = 1.4.10 =
287
  * Changed: Separate buttons for deactivation.
288