diff --git a/wp-includes/rss.php b/wp-includes/rss.php index ab3e9e9ec8..8097948f2f 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -1,4 +1,6 @@ '; @@ -839,7 +844,9 @@ function wp_rss( $url, $num_items = -1 ) { _e( 'An error has occurred, which probably means the feed is down. Try again later.' ); } } +endif; +if ( !function_exists('get_rss') ) : function get_rss ($url, $num_items = 5) { // Like get posts, but for RSS $rss = fetch_rss($url); if ( $rss ) { @@ -855,4 +862,6 @@ function get_rss ($url, $num_items = 5) { // Like get posts, but for RSS return false; } } +endif; + ?> \ No newline at end of file