mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-16 15:46:04 +01:00
a6a1522a8d
git-svn-id: http://svn.automattic.com/wordpress/trunk@7991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
25 lines
661 B
PHP
25 lines
661 B
PHP
<?php
|
|
/**
|
|
* Outputs the RSS2 feed XML format. This file is a shortcut or compatibility
|
|
* layer for easily finding the RSS feed for the site. It loads WordPress using
|
|
* the wp-blog-header.php file and running do_feed() function.
|
|
*
|
|
* @see do_feed() Used to display the RSS2 feed
|
|
*
|
|
* 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($doing_rss)) {
|
|
$doing_rss = 1;
|
|
require(dirname(__FILE__) . '/wp-blog-header.php');
|
|
}
|
|
|
|
do_feed();
|
|
|
|
?>
|