Changeset 9158 for trunk/wp-rss.php
- Timestamp:
- 10/14/2008 06:22:52 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-rss.php
r7991 r9158 1 1 <?php 2 2 /** 3 * Outputs the RSS feed RDF format using the feed-rss.php 4 * file in wp-includes folder. 5 * 6 * This file only sets the feed format and includes the 7 * feed-rss.php. 8 * 9 * This file is no longer used in WordPress and while it is 10 * not deprecated now. This file will most likely be 11 * deprecated or removed in a later version. 3 * Redirects to the RSS feed 4 * This file is deprecated and only exists for backwards compatibility 12 5 * 13 6 * @package WordPress 14 7 */ 15 8 16 if (empty($wp)) { 17 require_once('./wp-load.php'); 18 wp('feed=rss'); 19 } 20 21 require (ABSPATH . WPINC . '/feed-rss.php'); 9 require( './wp-load.php' ); 10 wp_redirect( get_bloginfo( 'rss_url' ), 301 ); 22 11 23 12 ?>
Note: See TracChangeset
for help on using the changeset viewer.