We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355d2d6 commit d9e57cfCopy full SHA for d9e57cf
nginx-helper.php
@@ -402,7 +402,7 @@ function nginx_settings_link( $links )
402
}
403
404
/**
405
- * Get latest news from https://rtcamp.com
+ * Get latest news
406
*
407
* @return void
408
*/
@@ -414,15 +414,12 @@ function rt_nginx_get_news() {
414
return;
415
416
417
- $feed_url = 'http://rtcamp.com/blog/feed/';
418
-
419
- // Get RSS Feed.
420
require_once( ABSPATH . WPINC . '/feed.php' );
421
422
$maxitems = 0;
423
424
// Get a SimplePie feed object from the specified feed source.
425
- $rss = fetch_feed( $feed_url );
+ $rss = fetch_feed( 'http://rtcamp.com/blog/feed/' );
426
427
// Checks that the object is created correctly.
428
if ( ! is_wp_error( $rss ) ) {
0 commit comments