Weather Underground - Version 1.2.5

Version Description

  • Fixed issue where checkbox state wasn't being reflected in settings.
Download this release

Release Info

Developer katzwebdesign
Plugin Icon 128x128 Weather Underground
Version 1.2.5
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.5

Files changed (2) hide show
  1. readme.txt +7 -1
  2. wunderground.php +4 -4
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Weather Forecast - WP Wunderground ===
2
  Tags: weather, weather.com, wunderground, weatherbug, forecast, widget, shortcode, Yahoo weather, Yahoo! Weather, wp-weather, wp weather, local weather, weather man, weather widget, cool weather, accuweather, get weather, wordpress weather
3
  Requires at least: 2.8
4
- Tested up to: 3.0.3
5
  Stable tag: trunk
6
  Contributors: katzwebdesign
7
  Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=WP%20Wunderground%20for%20WordPress&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
@@ -151,6 +151,9 @@ For previous versions, it is recommended to use a caching plugin (such as WP Sup
151
 
152
  == Changelog ==
153
 
 
 
 
154
  = 1.2.4 =
155
  * Removed error generation when XML file cannot be read (Error on line 427, <a href="http://wordpress.org/support/topic/506565" rel="nofollow">as reported</a>). Now, it just outputs an HTML comment error message.
156
 
@@ -188,6 +191,9 @@ For previous versions, it is recommended to use a caching plugin (such as WP Sup
188
 
189
  == Upgrade Notice ==
190
 
 
 
 
191
  = 1.2.4 =
192
  * Removed error generation when XML file cannot be read (Error on line 427, <a href="http://wordpress.org/support/topic/506565" rel="nofollow">as reported</a>). Now, it just outputs an HTML comment error message.
193
 
1
  === Weather Forecast - WP Wunderground ===
2
  Tags: weather, weather.com, wunderground, weatherbug, forecast, widget, shortcode, Yahoo weather, Yahoo! Weather, wp-weather, wp weather, local weather, weather man, weather widget, cool weather, accuweather, get weather, wordpress weather
3
  Requires at least: 2.8
4
+ Tested up to: 3.3.1
5
  Stable tag: trunk
6
  Contributors: katzwebdesign
7
  Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=zackkatz%40gmail%2ecom&item_name=WP%20Wunderground%20for%20WordPress&no_shipping=0&no_note=1&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8
151
 
152
  == Changelog ==
153
 
154
+ = 1.2.5 =
155
+ * Fixed issue where checkbox state wasn't being reflected in settings.
156
+
157
  = 1.2.4 =
158
  * Removed error generation when XML file cannot be read (Error on line 427, <a href="http://wordpress.org/support/topic/506565" rel="nofollow">as reported</a>). Now, it just outputs an HTML comment error message.
159
 
191
 
192
  == Upgrade Notice ==
193
 
194
+ = 1.2.5 =
195
+ * Fixed issue where checkbox state wasn't being reflected in settings.
196
+
197
  = 1.2.4 =
198
  * Removed error generation when XML file cannot be read (Error on line 427, <a href="http://wordpress.org/support/topic/506565" rel="nofollow">as reported</a>). Now, it just outputs an HTML comment error message.
199
 
wunderground.php CHANGED
@@ -3,9 +3,9 @@
3
  Plugin Name: WP Wunderground
4
  Plugin URI: http://www.seodenver.com/wunderground/
5
  Description: Get accurate and beautiful weather forecasts powered by Wunderground.com for your content or your sidebar.
6
- Version: 1.2.4
7
  Author: Katz Web Services, Inc.
8
- Author URI: http://www.seodenver.com/
9
  */
10
 
11
  class wp_wunderground {
@@ -158,7 +158,7 @@ class wp_wunderground {
158
  'content' => $this->buildIconSet()
159
  );
160
 
161
- $checked = (empty($this->showlink) || $this->showlink == 'yes') ? ' checked="checked"' : '';
162
  $rows[] = array(
163
  'id' => 'wp_wunderground_cache',
164
  'label' => __('Use Cache', 'wp_wunderground'),
@@ -205,7 +205,7 @@ class wp_wunderground {
205
  if($this->showlink == 'yes') {
206
  mt_srand(crc32($_SERVER['REQUEST_URI'])); // Keep links the same on the same page
207
 
208
- $urls = array('http://www.seodenver.com/wunderground/?ref=foot', 'http://wordpress.org/extend/plugins/wunderground/', 'http://www.denversnowremovalservice.com');
209
  $url = $urls[mt_rand(0, count($urls)-1)];
210
  $names = array('WP Wunderground', 'Wordpress Weather', 'Wunderground for WordPress');
211
  $name = $names[mt_rand(0, count($names)-1)];
3
  Plugin Name: WP Wunderground
4
  Plugin URI: http://www.seodenver.com/wunderground/
5
  Description: Get accurate and beautiful weather forecasts powered by Wunderground.com for your content or your sidebar.
6
+ Version: 1.2.5
7
  Author: Katz Web Services, Inc.
8
+ Author URI: http://www.katzwebservices.com/
9
  */
10
 
11
  class wp_wunderground {
158
  'content' => $this->buildIconSet()
159
  );
160
 
161
+ $checked = (empty($this->cache) || $this->cache == 'yes') ? ' checked="checked"' : '';
162
  $rows[] = array(
163
  'id' => 'wp_wunderground_cache',
164
  'label' => __('Use Cache', 'wp_wunderground'),
205
  if($this->showlink == 'yes') {
206
  mt_srand(crc32($_SERVER['REQUEST_URI'])); // Keep links the same on the same page
207
 
208
+ $urls = array('http://seodenver.com/wunderground/?ref=foot', 'http://wordpress.org/extend/plugins/wunderground/', 'http://www.denversnowremovalservice.com');
209
  $url = $urls[mt_rand(0, count($urls)-1)];
210
  $names = array('WP Wunderground', 'Wordpress Weather', 'Wunderground for WordPress');
211
  $name = $names[mt_rand(0, count($names)-1)];