Awesome Weather Widget - Version 1.5.6.1

Version Description

  • Fix trailing slash issue with one of the preset background image checks
Download this release

Release Info

Developer halgatewood
Plugin Icon 128x128 Awesome Weather Widget
Version 1.5.6.1
Comparing to
See all releases

Code changes from version 1.5.6 to 1.5.6.1

Files changed (3) hide show
  1. awesome-weather-widget.js +1 -1
  2. awesome-weather.php +2 -2
  3. readme.txt +3 -0
awesome-weather-widget.js CHANGED
@@ -58,5 +58,5 @@ jQuery(document).ready(function()
58
  jQuery('#awe-owm-spinner-' + location_id).addClass("hidden");
59
  });
60
  }
61
- }, 350));
62
  });
58
  jQuery('#awe-owm-spinner-' + location_id).addClass("hidden");
59
  });
60
  }
61
+ }, 250));
62
  });
awesome-weather.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://halgatewood.com/awesome-weather
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: https://www.halgatewood.com
8
- Version: 1.5.6
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
@@ -317,7 +317,7 @@ function awesome_weather_logic( $atts )
317
  if( $preset_background_img_name )
318
  {
319
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
320
- if( file_exists( get_stylesheet_directory() . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext) ) $background = get_stylesheet_directory_uri() . "awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext;
321
  }
322
  }
323
  }
5
  Description: A weather widget that actually looks cool
6
  Author: Hal Gatewood
7
  Author URI: https://www.halgatewood.com
8
+ Version: 1.5.6.1
9
  Text Domain: awesome-weather
10
  Domain Path: /languages
11
 
317
  if( $preset_background_img_name )
318
  {
319
  $background_classes[] = "awe-preset-" . $preset_background_img_name;
320
+ if( file_exists( get_stylesheet_directory() . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext) ) $background = get_stylesheet_directory_uri() . "/awe-backgrounds/" . $preset_background_img_name . "." . $bg_ext;
321
  }
322
  }
323
  }
readme.txt CHANGED
@@ -186,6 +186,9 @@ Changed API endpoints. Might not find weather without update.
186
 
187
  == Changelog ==
188
 
 
 
 
189
  = 1.5.6 =
190
  * Two new filters available to remove to the Google font Open Sans. (`awesome_weather_use_google_font` AND `awesome_weather_google_font_queue_name`)
191
  * Added new missing background preset `atmosphere.jpg`
186
 
187
  == Changelog ==
188
 
189
+ = 1.5.6.1 =
190
+ * Fix trailing slash issue with one of the preset background image checks
191
+
192
  = 1.5.6 =
193
  * Two new filters available to remove to the Google font Open Sans. (`awesome_weather_use_google_font` AND `awesome_weather_google_font_queue_name`)
194
  * Added new missing background preset `atmosphere.jpg`