root/trunk/wp-rss2.php

Revision 7991, 0.5 kB (checked in by ryan, 1 month ago)

File file level phpdoc from jacobsantos. see #7037

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
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 ?>
Note: See TracBrowser for help on using the browser.