Photo Gallery by WD – Responsive Photo Gallery - Version 1.4.17

Version Description

  • Bug on widgets added with SiteOrigin builder old versions
Download this release

Release Info

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

Code changes from version 1.4.16 to 1.4.17

admin/controllers/Widget.php CHANGED
@@ -88,3 +88,10 @@ class WidgetController_bwg extends WP_Widget {
88
  return $instance;
89
  }
90
  }
 
 
 
 
 
 
 
88
  return $instance;
89
  }
90
  }
91
+
92
+ /**
93
+ * Class BWGControllerWidget
94
+ *
95
+ * Allow to work old widgets registered with this name of class added with SiteOrigin builder.
96
+ */
97
+ class BWGControllerWidget extends WidgetController_bwg {}
admin/controllers/WidgetSlideshow.php CHANGED
@@ -106,3 +106,10 @@ class WidgetSlideshowController_bwg extends WP_Widget {
106
  return $instance;
107
  }
108
  }
 
 
 
 
 
 
 
106
  return $instance;
107
  }
108
  }
109
+
110
+ /**
111
+ * Class BWGControllerWidgetSlideshow
112
+ *
113
+ * Allow to work old widgets registered with this name of class added with SiteOrigin builder.
114
+ */
115
+ class BWGControllerWidgetSlideshow extends WidgetSlideshowController_bwg {}
admin/controllers/WidgetTags.php CHANGED
@@ -91,3 +91,10 @@ class WidgetTagsController_bwg extends WP_Widget {
91
  return $instance;
92
  }
93
  }
 
 
 
 
 
 
 
91
  return $instance;
92
  }
93
  }
94
+
95
+ /**
96
+ * Class BWGControllerWidgetTags
97
+ *
98
+ * Allow to work old widgets registered with this name of class added with SiteOrigin builder.
99
+ */
100
+ class BWGControllerWidgetTags extends WidgetTagsController_bwg {}
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.16
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
@@ -81,8 +81,8 @@ final class BWG {
81
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
82
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
83
  $this->main_file = plugin_basename(__FILE__);
84
- $this->plugin_version = '1.4.16';
85
- $this->db_version = '1.4.16';
86
  $this->prefix = 'bwg';
87
  $this->nicename = __('Photo Gallery', $this->prefix);
88
 
@@ -959,6 +959,12 @@ final class BWG {
959
  require_once(BWG()->plugin_dir . '/admin/controllers/WidgetTags.php');
960
  register_widget("WidgetTagsController_bwg");
961
  }
 
 
 
 
 
 
962
  }
963
 
964
  /**
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.17
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
81
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
82
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
83
  $this->main_file = plugin_basename(__FILE__);
84
+ $this->plugin_version = '1.4.17';
85
+ $this->db_version = '1.4.17';
86
  $this->prefix = 'bwg';
87
  $this->nicename = __('Photo Gallery', $this->prefix);
88
 
959
  require_once(BWG()->plugin_dir . '/admin/controllers/WidgetTags.php');
960
  register_widget("WidgetTagsController_bwg");
961
  }
962
+ // Allow to work old widgets registered with this name of class added with SiteOrigin builder.
963
+ register_widget("BWGControllerWidget");
964
+ register_widget("BWGControllerWidgetSlideshow");
965
+ if ( $this->is_pro ) {
966
+ register_widget("BWGControllerWidgetTags");
967
+ }
968
  }
969
 
970
  /**
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.16
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -278,7 +278,10 @@ Choose whether to display random or the first/last specific number of images.
278
 
279
 
280
  == Changelog ==
281
-
 
 
 
282
  = 1.4.16 =
283
  * Fixed: Disable cron functionality in free version.
284
  * Fixed: Title/description container visibility in lightbox.
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.17
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
278
 
279
 
280
  == Changelog ==
281
+
282
+ = 1.4.17 =
283
+ * Bug on widgets added with SiteOrigin builder old versions
284
+
285
  = 1.4.16 =
286
  * Fixed: Disable cron functionality in free version.
287
  * Fixed: Title/description container visibility in lightbox.