mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
a6a1522a8d
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
21 lines
555 B
PHP
21 lines
555 B
PHP
<?php
|
|
/**
|
|
* Outputs the RSS2 feed XML format using the feed-rss2.php file in wp-includes
|
|
* folder. This file only sets the feed format and includes the feed-rss2.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.
|
|
*
|
|
* The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
if (empty($wp)) {
|
|
require_once('./wp-load.php');
|
|
wp('feed=rss2');
|
|
}
|
|
|
|
require (ABSPATH . WPINC . '/feed-rss2.php');
|
|
|
|
?>
|