Changeset 1818557
- Timestamp:
- 02/08/2018 09:29:55 PM (8 years ago)
- Location:
- national-weather-service-alerts/trunk
- Files:
-
- 4 edited
-
classes/class-nws-alerts.php (modified) (1 diff)
-
nws-alerts-globals.php (modified) (1 diff)
-
nws-alerts.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
national-weather-service-alerts/trunk/classes/class-nws-alerts.php
r1451950 r1818557 210 210 $response_headers = wp_remote_retrieve_headers($response); 211 211 212 // Verify that the response code comes back as 'OK' and that the content type is rss+xml 213 if (wp_remote_retrieve_response_code($response) == 200 && $response_headers['content-type'] == 'application/rss+xml') {212 // Verify that the response code comes back as 'OK' and that the content type is rss+xml or atom+xml 213 if (wp_remote_retrieve_response_code($response) == 200 && ($response_headers['content-type'] == 'application/rss+xml' || $response_headers['content-type'] == 'application/atom+xml')) { 214 214 $response_body = wp_remote_retrieve_body($response); 215 215 -
national-weather-service-alerts/trunk/nws-alerts-globals.php
r1573703 r1818557 7 7 8 8 // NWS Alerts Version Information 9 define('NWS_ALERTS_VERSION', '1.3. 4');9 define('NWS_ALERTS_VERSION', '1.3.5'); 10 10 define('NWS_ALERTS_MIN_WP_VERSION', '3.9'); 11 11 define('NWS_ALERTS_MIN_PHP_VERSION', '5.3'); -
national-weather-service-alerts/trunk/nws-alerts.php
r1573703 r1818557 4 4 * Plugin URI: https://github.com/laubsterboy/nws-alerts 5 5 * Description: Easily add official National Weather Service alerts to your website. 6 * Version: 1.3. 46 * Version: 1.3.5 7 7 * Author: John Russell 8 8 * Author URI: http://www.laubsterboy.com -
national-weather-service-alerts/trunk/readme.txt
r1573703 r1818557 4 4 Tags: National Weather Service, NWS, Storm Prediction Center, SPC, Alert, Weather, Storm, Severe, Tornado, Thunder, Flood 5 5 Requires at least: 3.1 6 Tested up to: 4. 77 Stable tag: 1.3. 46 Tested up to: 4.9 7 Stable tag: 1.3.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 108 108 == Changelog == 109 109 110 = 1.3.5 = 111 * Fixed: The error retrieving weather alert data. This was caused by the feed mime type changing from rss+xml to atom+xml. 112 110 113 = 1.3.4 = 111 114 * Fixed: The 1.3.3 updates included some code incompatible with PHP <5.5 and this update fixes that. … … 161 164 == Upgrade Notice == 162 165 166 = 1.3.5 = 167 * Urgent: This update fixes the 'There was an error retrieving the National Weather Service alert data.' error. 168 163 169 = 1.3.4 = 164 170 * Urgent: This update fixes the PHP parse error on web servers running PHP 5.4 or less. Those with PHP 5.5 or greater will see no difference.
Note: See TracChangeset
for help on using the changeset viewer.