Skip to content

Commit f8f1044

Browse files
authored
Merge pull request #8 from UCF/hf-feed-update
Feed Update
2 parents 89177f1 + 11f09e2 commit f8f1044

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

includes/ucf-news-feed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if ( ! class_exists( 'UCF_News_Feed' ) ) {
77
class UCF_News_Feed {
88
public static function get_json_feed( $feed_url ) {
9-
$response = wp_safe_remote_get( $feed_url, array( 'timeout' => 15 ) );
9+
$response = wp_remote_get( $feed_url, array( 'timeout' => 15 ) );
1010

1111
if ( is_array( $response ) && wp_remote_retrieve_response_code( $response ) == 200 ) {
1212
$result = json_decode( wp_remote_retrieve_body( $response ) );

readme.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,27 @@ TODO
2828

2929
## Changelog ##
3030

31-
### 1.0 ###
31+
### 1.0.4 ###
32+
33+
* Bug Fixes:
34+
* Updates the way the news feed is pulled to prevent error when accessing external host.
35+
36+
### 1.0.3 ###
37+
38+
* Enhancements:
39+
* Adds empty alt tag to classic layout images for accessibility.
40+
41+
### 1.0.2 ###
42+
43+
* Bug Fixes:
44+
* Corrects filter name from category to category_name.
45+
46+
### 1.0.1 ###
47+
48+
* Bug Fixes:
49+
* Corrects a bug with sections and topics filters.
50+
51+
### 1.0.0 ###
3252
* Initial release
3353

3454

ucf-news.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Plugin Name: UCF News
44
Description: Contains shortcode and widget for displaying UCF News Feeds
5-
Version: 1.0.1
5+
Version: 1.0.4
66
Author: UCF Web Communications
77
License: GPL3
88
*/

0 commit comments

Comments
 (0)