Photo Gallery by WD – Responsive Photo Gallery - Version 1.5.16

Version Description

  • Fixed: Shortcode popup opened from Gutenberg.
  • Fixed: Images upload with empty meta data.
Download this release

Release Info

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

Code changes from version 1.5.15 to 1.5.16

css/tw-gb/block.css CHANGED
@@ -1,10 +1,17 @@
1
  /**
2
  * 10Web plugins Gutenberg integration
3
- * version 2.0.3
4
  */
 
 
 
 
 
 
 
5
  .tw-container {
6
  position: fixed;
7
- top: 0;
8
  left: 0;
9
  right: 0;
10
  bottom: 0;
1
  /**
2
  * 10Web plugins Gutenberg integration
3
+ * version 2.0.4
4
  */
5
+
6
+ @media (min-width: 782px) {
7
+ .edit-post-layout__content {
8
+ z-index: 9999;
9
+ }
10
+ }
11
+
12
  .tw-container {
13
  position: fixed;
14
+ top: 30px;
15
  left: 0;
16
  right: 0;
17
  bottom: 0;
filemanager/UploadHandler.php CHANGED
@@ -1007,24 +1007,26 @@ class bwg_UploadHandler {
1007
  * @return mixed
1008
  */
1009
  private function set_file_info( $info ) {
 
1010
  $data['is_dir'] = 0;
1011
- $data['path'] = $info->path;
1012
- $data['type'] = $info->type;
1013
- $data['name'] = $info->name;
1014
- $data['filename'] = $info->filename;
1015
- $data['alt'] = $info->alt;
1016
- $data['thumb'] = 'thumb/' . $info->name;
1017
- $data['size'] = $info->size;
1018
- $data['resolution'] = $info->resolution;
1019
- $data['credit'] = iconv_mime_decode($info->credit);
1020
- $data['aperture'] = iconv_mime_decode($info->aperture);
1021
- $data['camera'] = iconv_mime_decode($info->camera);
1022
- $data['caption'] = iconv_mime_decode($info->caption);
1023
- $data['iso'] = iconv_mime_decode($info->iso);
1024
- $data['orientation'] = $info->orientation;
1025
- $data['copyright'] = iconv_mime_decode($info->copyright);
1026
- $data['tags'] = iconv_mime_decode($info->tags);
1027
  $data['date_modified'] = date('Y-m-d H:i:s');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1028
  return $data;
1029
  }
1030
  }
1007
  * @return mixed
1008
  */
1009
  private function set_file_info( $info ) {
1010
+ $data = array();
1011
  $data['is_dir'] = 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  $data['date_modified'] = date('Y-m-d H:i:s');
1013
+ $data['path'] = isset($info->path) ? $info->path : '';
1014
+ $data['type'] = isset($info->type) ? $info->type : '';
1015
+ $data['name'] = isset($info->name) ? $info->name : '';
1016
+ $data['filename'] = isset($info->filename) ? $info->filename : '';
1017
+ $data['alt'] = isset($info->alt) ? $info->alt : '';
1018
+ $data['thumb'] = isset($info->name) ? 'thumb/' . $info->name : '';
1019
+ $data['size'] = isset($info->size) ? $info->size : '';
1020
+ $data['resolution'] = isset($info->resolution) ? $info->resolution : '';
1021
+ $data['credit'] = isset($info->credit) ? iconv_mime_decode($info->credit) : '';
1022
+ $data['aperture'] = isset($info->aperture) ? iconv_mime_decode($info->aperture) : '';
1023
+ $data['camera'] = isset($info->camera) ? iconv_mime_decode($info->camera) : '';
1024
+ $data['caption'] = isset($info->caption) ? iconv_mime_decode($info->caption) : '';
1025
+ $data['iso'] = isset($info->iso) ? iconv_mime_decode($info->iso) : '';
1026
+ $data['orientation'] = isset($info->orientation) ? $info->orientation : '';
1027
+ $data['copyright'] = isset($info->copyright) ? iconv_mime_decode($info->copyright) : '';
1028
+ $data['tags'] = isset($info->tags) ? iconv_mime_decode($info->tags) : '';
1029
+
1030
  return $data;
1031
  }
1032
  }
photo-gallery.php CHANGED
@@ -3,9 +3,9 @@
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.5.15
7
  * Author: Photo Gallery Team
8
- * Author URI: https://10web.io/plugins/wordpress-photo-gallery/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
 
@@ -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.5.15';
85
- $this->db_version = '1.5.15';
86
  $this->prefix = 'bwg';
87
  $this->nicename = __('Photo Gallery', $this->prefix);
88
 
@@ -276,7 +276,7 @@ final class BWG {
276
  }
277
 
278
  public function register_block_editor_assets($assets) {
279
- $version = '2.0.3';
280
  $js_path = $this->plugin_url . '/js/tw-gb/block.js';
281
  $css_path = $this->plugin_url . '/css/tw-gb/block.css';
282
  if (!isset($assets['version']) || version_compare($assets['version'], $version) === -1) {
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.5.16
7
  * Author: Photo Gallery Team
8
+ * Author URI: https://10web.io/plugins/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
 
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.5.16';
85
+ $this->db_version = '1.5.16';
86
  $this->prefix = 'bwg';
87
  $this->nicename = __('Photo Gallery', $this->prefix);
88
 
276
  }
277
 
278
  public function register_block_editor_assets($assets) {
279
+ $version = '2.0.4';
280
  $js_path = $this->plugin_url . '/js/tw-gb/block.js';
281
  $css_path = $this->plugin_url . '/css/tw-gb/block.css';
282
  if (!isset($assets['version']) || version_compare($assets['version'], $version) === -1) {
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: 5.1
6
- Stable tag: 1.5.15
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -307,6 +307,10 @@ Choose whether to display random or the first/last specific number of images.
307
 
308
  == Changelog ==
309
 
 
 
 
 
310
  = 1.5.15 =
311
  * Fixed: Photo gallery icon doesn't appear in Gutenberg.
312
  * Fixed: Filemanager on iPhone.
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: 5.1
6
+ Stable tag: 1.5.16
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
307
 
308
  == Changelog ==
309
 
310
+ = 1.5.16 =
311
+ * Fixed: Shortcode popup opened from Gutenberg.
312
+ * Fixed: Images upload with empty meta data.
313
+
314
  = 1.5.15 =
315
  * Fixed: Photo gallery icon doesn't appear in Gutenberg.
316
  * Fixed: Filemanager on iPhone.