Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (18 sloc) 0.555 kb
14baf17 some cleanups, and a quick undefined variable fix
michelvaldrighi authored
1 <?php
a6a1522 File file level phpdoc from jacobsantos. see #7037
ryan authored
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 */
14baf17 some cleanups, and a quick undefined variable fix
michelvaldrighi authored
13
1baf503 Break blog header up into functional chunks. Stick it all in a WP cl…
ryan authored
14 if (empty($wp)) {
5b81135 Allow wp-config.php to exist one level up from WordPress root directo…
ryan authored
15 require_once('./wp-load.php');
1baf503 Break blog header up into functional chunks. Stick it all in a WP cl…
ryan authored
16 wp('feed=rss2');
6d55b31 Clean feed and trackback URLs.
rboren authored
17 }
14baf17 some cleanups, and a quick undefined variable fix
michelvaldrighi authored
18
dbedd14 Relocate feed templates to wp-includes. fixes #3846
ryan authored
19 require (ABSPATH . WPINC . '/feed-rss2.php');
8e7909a Newer, cleaner RSS 2.0.
saxmatt authored
20
dbedd14 Relocate feed templates to wp-includes. fixes #3846
ryan authored
21 ?>
Something went wrong with that request. Please try again.