Changeset 9158 for trunk/wp-atom.php
- Timestamp:
- 10/14/2008 06:22:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-atom.php
r7991 r9158 1 1 <?php 2 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. 3 * Redirects to the Atom feed 4 * This file is deprecated and only exists for backwards compatibility 10 5 * 11 6 * @package WordPress 12 7 */ 13 8 14 if (empty($wp)) { 15 require_once('./wp-load.php'); 16 wp('feed=atom'); 17 } 18 19 require (ABSPATH . WPINC . '/feed-atom.php'); 9 require( './wp-load.php' ); 10 wp_redirect( get_bloginfo( 'atom_url' ), 301 ); 20 11 21 12 ?>
Note: See TracChangeset
for help on using the changeset viewer.