root/trunk/wp-rss2.php

Revision 1328, 0.5 kB (checked in by donncha, 4 months ago)

WP Merge with revision 8075

  • Property svn:eol-style set to native
Line 
1 <?php
2 /**
3  * Outputs the RSS2 feed XML format using the feed-rss2.php file in wp-includes
4  * folder. This file only sets the feed format and includes the feed-rss2.php.
5  *
6  * This file is no longer used in WordPress and while it is not deprecated now.
7  * This file will most likely be deprecated or removed in a later version.
8  *
9  * The link for the rss2 feed is /index.php?feed=rss2 with permalinks off.
10  *
11  * @package WordPress
12  */
13
14 if (empty($wp)) {
15     require_once('./wp-load.php');
16     wp('feed=rss2');
17 }
18
19 require (ABSPATH . WPINC . '/feed-rss2.php');
20
21 ?>
22
Note: See TracBrowser for help on using the browser.