Skip to content

Commit

Permalink
2.0.0.82
Browse files Browse the repository at this point in the history
  • Loading branch information
stiofan committed Mar 21, 2020
1 parent f236c8a commit 94c4266
Show file tree
Hide file tree
Showing 6 changed files with 552 additions and 416 deletions.
4 changes: 4 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
* File limit not working for custom field field - FIXED
* Add field visibility check for email in ninja form widget - FIXED
* Allow to show field raw value with gd_post_meta - CHANGED
* Elementor dynamic content support - ADDED
* Advanced DB Default option added for when adding new custom field - ADDED
* Changes for scheme Event Status - CHANGED
* Image function can add wrong sizes to image tag - FIXED

= 2.0.0.81 =
* Remove title/meta variables not related to location page - CHANGED
Expand Down
6 changes: 3 additions & 3 deletions geodirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* Plugin Name: GeoDirectory
* Plugin URI: https://wpgeodirectory.com/
* Description: GeoDirectory plugin for WordPress.
* Version: 2.0.0.81
* Version: 2.0.0.82
* Author: AyeCode Ltd
* Author URI: https://wpgeodirectory.com
* Text Domain: geodirectory
* Domain Path: /languages
* Requires at least: 4.5
* Tested up to: 5.3.2
* Tested up to: 5.4
*/


Expand All @@ -35,7 +35,7 @@ final class GeoDirectory {
*
* @var string
*/
public $version = '2.0.0.81';
public $version = '2.0.0.82';

/**
* GeoDirectory instance.
Expand Down
1 change: 0 additions & 1 deletion includes/class-geodir-elementor.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ public static function maybe_fix_image_sizes( $html, $settings, $image_size_key
$new_image_url = esc_url_raw( "https://wordpress.com/mshots/v1/$image_url_src?w=$width&h=$height" );
$html = str_replace( $image_src, $new_image_url, $html );
} elseif ( isset( $image_sizes[ $image_size ] ) ) {
echo '###3';
$width = ! empty( $image_sizes[ $image_size ]['width'] ) ? absint( $image_sizes[ $image_size ]['width'] ) : 1024;
$height = ! empty( $image_sizes[ $image_size ]['height'] ) ? absint( $image_sizes[ $image_size ]['height'] ) : $width;
$new_image_url = "https://wordpress.com/mshots/v1/$image_url_src?w=$width&h=$height";
Expand Down
Binary file modified languages/geodirectory-en_US.mo
Binary file not shown.
Loading

0 comments on commit 94c4266

Please sign in to comment.