Changeset 9158 for trunk/wp-rdf.php
- Timestamp:
- 10/14/08 06:22:52 (3 months ago)
- Files:
-
- trunk/wp-rdf.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-rdf.php
r7991 r9158 1 1 <?php 2 2 /** 3 * Outputs the RDF feed using the feed-rdf.php 4 * file in wp-includes folder. 5 * 6 * This file only sets the feed format and includes the 7 * feed-rdf.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 RDF 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=rdf'); 19 } 20 21 require (ABSPATH . WPINC . '/feed-rdf.php'); 9 require( './wp-load.php' ); 10 wp_redirect( get_bloginfo( 'rdf_url' ), 301 ); 22 11 23 12 ?>
