File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 6
6
if ( ! class_exists ( 'UCF_News_Feed ' ) ) {
7
7
class UCF_News_Feed {
8
8
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 ) );
10
10
11
11
if ( is_array ( $ response ) && wp_remote_retrieve_response_code ( $ response ) == 200 ) {
12
12
$ result = json_decode ( wp_remote_retrieve_body ( $ response ) );
Original file line number Diff line number Diff line change 28
28
29
29
## Changelog ##
30
30
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 ###
32
52
* Initial release
33
53
34
54
Original file line number Diff line number Diff line change 2
2
/*
3
3
Plugin Name: UCF News
4
4
Description: Contains shortcode and widget for displaying UCF News Feeds
5
- Version: 1.0.1
5
+ Version: 1.0.4
6
6
Author: UCF Web Communications
7
7
License: GPL3
8
8
*/
You can’t perform that action at this time.
0 commit comments