Photo Gallery by WD – Responsive Photo Gallery - Version 1.3.28

Version Description

  • Fixed: Filemanager allowed file types.
  • Fixed: Instagram.
Download this release

Release Info

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

Code changes from version 1.3.27 to 1.3.28

filemanager/UploadHandler.php CHANGED
@@ -24,7 +24,7 @@ $controller = new FilemanagerController();
24
 
25
  $upload_handler = new bwg_UploadHandler(array(
26
  'upload_dir' => $controller->uploads_dir . (isset($_GET['dir']) ? str_replace('\\', '', ($_GET['dir'])) : ''),
27
- 'accept_file_types' => '/\.(gif|jpe?g|png|bmp|mp4|flv|webm|ogg|mp3|wav|pdf|zip)$/i'
28
  ));
29
 
30
  class bwg_UploadHandler {
24
 
25
  $upload_handler = new bwg_UploadHandler(array(
26
  'upload_dir' => $controller->uploads_dir . (isset($_GET['dir']) ? str_replace('\\', '', ($_GET['dir'])) : ''),
27
+ 'accept_file_types' => '/\.(gif|jpe?g|png|aac|m4a|f4a|oga|ogg|mp3|zip)$/i'
28
  ));
29
 
30
  class bwg_UploadHandler {
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.3.27
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -1609,7 +1609,7 @@ function bwg_activate() {
1609
  ));
1610
  }
1611
  $version = get_option('wd_bwg_version');
1612
- $new_version = '1.3.27';
1613
  if ($version && version_compare($version, $new_version, '<')) {
1614
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1615
  bwg_update($version);
@@ -1661,7 +1661,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
1661
 
1662
  function bwg_update_hook() {
1663
  $version = get_option('wd_bwg_version');
1664
- $new_version = '1.3.27';
1665
  if ($version && version_compare($version, $new_version, '<')) {
1666
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1667
  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.3.28
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
1609
  ));
1610
  }
1611
  $version = get_option('wd_bwg_version');
1612
+ $new_version = '1.3.28';
1613
  if ($version && version_compare($version, $new_version, '<')) {
1614
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1615
  bwg_update($version);
1661
 
1662
  function bwg_update_hook() {
1663
  $version = get_option('wd_bwg_version');
1664
+ $new_version = '1.3.28';
1665
  if ($version && version_compare($version, $new_version, '<')) {
1666
  require_once WD_BWG_DIR . "/update/bwg_update.php";
1667
  bwg_update($version);
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
4
  Tags: content gallery, gallery, gallery image, image gallery, images gallery, lightbox gallery, media gallery, photo gallery, responsive gallery, thumbnail gallery, wordpress gallery, youtube gallery
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
- Stable tag: 1.3.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -175,6 +175,10 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
175
 
176
  == Changelog ==
177
 
 
 
 
 
178
  = 1.3.27 =
179
  * Changed: Removed bwg_option table.
180
  * Fixed: Masonry galleries bug in masonry album.
4
  Tags: content gallery, gallery, gallery image, image gallery, images gallery, lightbox gallery, media gallery, photo gallery, responsive gallery, thumbnail gallery, wordpress gallery, youtube gallery
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
+ Stable tag: 1.3.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
175
 
176
  == Changelog ==
177
 
178
+ = 1.3.28 =
179
+ * Fixed: Filemanager allowed file types.
180
+ * Fixed: Instagram.
181
+
182
  = 1.3.27 =
183
  * Changed: Removed bwg_option table.
184
  * Fixed: Masonry galleries bug in masonry album.