Version Description
Forecast now stops showing today.
Download this release
Release Info
Developer | halgatewood |
Plugin | Awesome Weather Widget |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
- awesome-weather.php +2 -2
- readme.txt +10 -1
awesome-weather.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://halgatewood.com/awesome-weather
|
|
5 |
Description: A weather widget that actually looks cool
|
6 |
Author: Hal Gatewood
|
7 |
Author URI: http://www.halgatewood.com
|
8 |
-
Version: 1.2.
|
9 |
|
10 |
|
11 |
FILTERS AVAILABLE:
|
@@ -230,7 +230,7 @@ function awesome_weather_logic( $atts )
|
|
230 |
|
231 |
foreach( (array) $forecast->list as $forecast )
|
232 |
{
|
233 |
-
if( $dt_today
|
234 |
|
235 |
$forecast->temp = (int) $forecast->temp;
|
236 |
$day_of_week = date('D', $forecast->dt);
|
5 |
Description: A weather widget that actually looks cool
|
6 |
Author: Hal Gatewood
|
7 |
Author URI: http://www.halgatewood.com
|
8 |
+
Version: 1.2.4
|
9 |
|
10 |
|
11 |
FILTERS AVAILABLE:
|
230 |
|
231 |
foreach( (array) $forecast->list as $forecast )
|
232 |
{
|
233 |
+
if( $dt_today >= date('Ymd', $forecast->dt)) continue;
|
234 |
|
235 |
$forecast->temp = (int) $forecast->temp;
|
236 |
$day_of_week = date('D', $forecast->dt);
|
readme.txt
CHANGED
@@ -48,8 +48,11 @@ All weather data is provided by http://openweathermap.org and is cached for one
|
|
48 |
|
49 |
== Upgrade Notice ==
|
50 |
|
|
|
|
|
|
|
51 |
= 1.2.3 =
|
52 |
-
|
53 |
|
54 |
= 1.2 =
|
55 |
Background Image Option
|
@@ -68,6 +71,12 @@ Changed API endpoints. Might not find weather without update.
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
= 1.2.1 =
|
72 |
* Background Image Option in widget
|
73 |
|
48 |
|
49 |
== Upgrade Notice ==
|
50 |
|
51 |
+
= 1.2.4 =
|
52 |
+
Forecast now stops showing today.
|
53 |
+
|
54 |
= 1.2.3 =
|
55 |
+
Better API Support
|
56 |
|
57 |
= 1.2 =
|
58 |
Background Image Option
|
71 |
|
72 |
== Changelog ==
|
73 |
|
74 |
+
= 1.2.4 =
|
75 |
+
* Forecast now stops showing today.
|
76 |
+
|
77 |
+
= 1.2.3 =
|
78 |
+
* remove file_get_contents and used wp_remote_get
|
79 |
+
|
80 |
= 1.2.1 =
|
81 |
* Background Image Option in widget
|
82 |
|