Wordpress/wp-rss.php

23 lines
484 B
PHP

<?php
/**
* Outputs the RSS feed RDF format using the feed-rss.php
* file in wp-includes folder.
*
* This file only sets the feed format and includes the
* feed-rss.php.
*
* This file is no longer used in WordPress and while it is
* not deprecated now. This file will most likely be
* deprecated or removed in a later version.
*
* @package WordPress
*/
if (empty($wp)) {
require_once('./wp-load.php');
wp('feed=rss');
}
require (ABSPATH . WPINC . '/feed-rss.php');
?>