Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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 Atom feed XML format using the feed-atom.php file in wp-includes
4 * folder. This file only sets the feed format and includes the feed-atom.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 atom feed is /index.php?feed=atom 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=atom');
6d55b31 Clean feed and trackback URLs.
rboren authored
17 }
18
dbedd14 Relocate feed templates to wp-includes. fixes #3846
ryan authored
19 require (ABSPATH . WPINC . '/feed-atom.php');
6d55b31 Clean feed and trackback URLs.
rboren authored
20
dbedd14 Relocate feed templates to wp-includes. fixes #3846
ryan authored
21 ?>
Something went wrong with that request. Please try again.