Photo Gallery by WD – Responsive Photo Gallery - Version 1.4.1

Version Description

  • Fixed: Bugs on php5.3.
Download this release

Release Info

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

Code changes from version 1.4.0 to 1.4.1

admin/views/AdminView.php CHANGED
@@ -83,7 +83,7 @@ class AdminView_bwg {
83
  <?php
84
  if ( $title_name || $title_id || $title_value ) {
85
  ?>
86
- <span id="fm-title-edit">
87
  <input type="text" id="<?php echo $title_id; ?>" name="<?php echo $title_name; ?>" value="<?php echo $title_value; ?>" />
88
  </span>
89
  <?php
83
  <?php
84
  if ( $title_name || $title_id || $title_value ) {
85
  ?>
86
+ <span>
87
  <input type="text" id="<?php echo $title_id; ?>" name="<?php echo $title_name; ?>" value="<?php echo $title_value; ?>" />
88
  </span>
89
  <?php
framework/WDWLibrary.php CHANGED
@@ -1622,8 +1622,9 @@ class WDWLibrary {
1622
  }
1623
  $original_image = wp_get_image_editor( $original_filename );
1624
  if ( ! is_wp_error( $original_image ) ) {
1625
- $width_orig = $original_image->get_size()['width'];
1626
- $height_orig = $original_image->get_size()['height'];
 
1627
  $original_image->set_quality(BWG()->options->image_quality);
1628
  self::recover_image_size($width_orig, $height_orig, $width, $original_image, $filename);
1629
  self::recover_image_size($width_orig, $height_orig, $thumb_width, $original_image, $thumb_filename);
1622
  }
1623
  $original_image = wp_get_image_editor( $original_filename );
1624
  if ( ! is_wp_error( $original_image ) ) {
1625
+ $get_size = $original_image->get_size();
1626
+ $width_orig = $get_size['width'];
1627
+ $height_orig = $get_size['height'];
1628
  $original_image->set_quality(BWG()->options->image_quality);
1629
  self::recover_image_size($width_orig, $height_orig, $width, $original_image, $filename);
1630
  self::recover_image_size($width_orig, $height_orig, $thumb_width, $original_image, $thumb_filename);
photo-gallery.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
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.0
7
  * Author: Photo Gallery Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -83,8 +83,8 @@ final class BWG {
83
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
84
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
85
  $this->main_file = plugin_basename(__FILE__);
86
- $this->plugin_version = '1.4.0';
87
- $this->db_version = '1.4.0';
88
  $this->prefix = 'bwg';
89
  $this->nicename = __('Photo Gallery', $this->prefix);
90
 
3
  * Plugin Name: Photo Gallery
4
  * Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
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.1
7
  * Author: Photo Gallery Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
83
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
84
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
85
  $this->main_file = plugin_basename(__FILE__);
86
+ $this->plugin_version = '1.4.1';
87
+ $this->db_version = '1.4.1';
88
  $this->prefix = 'bwg';
89
  $this->nicename = __('Photo Gallery', $this->prefix);
90
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,wdsupport,photogallerysupport
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.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -279,6 +279,9 @@ Choose whether to display random or the first/last specific number of images.
279
 
280
  == Changelog ==
281
 
 
 
 
282
  = 1.4.0 =
283
  * Improved: User interface admin pages.
284
  * Changed: Thumbnail view and lightbox default styles.
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.1
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.1 =
283
+ * Fixed: Bugs on php5.3.
284
+
285
  = 1.4.0 =
286
  * Improved: User interface admin pages.
287
  * Changed: Thumbnail view and lightbox default styles.