]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-rdf.php
Wordpress 2.7.1
[autoinstalls/wordpress.git] / wp-rdf.php
index fac4a8da2e280bb99e376f13a2800fac23107987..3c8f005ff9739a2abf7cd1f54ada280c982e3970 100644 (file)
@@ -1,23 +1,12 @@
 <?php
 /**
- * Outputs the RDF feed using the feed-rdf.php
- * file in wp-includes folder.
- *
- * This file only sets the feed format and includes the
- * feed-rdf.php.
- *
- * This file is no longer used in WordPress and while it is
- * not deprecated now. This file will most likely be
- * deprecated or removed in a later version.
+ * Redirects to the RDF feed
+ * This file is deprecated and only exists for backwards compatibility
  *
  * @package WordPress
  */
 
-if (empty($wp)) {
-       require_once('./wp-load.php');
-       wp('feed=rdf');
-}
-
-require (ABSPATH . WPINC . '/feed-rdf.php');
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'rdf_url' ), 301 );
 
 ?>
\ No newline at end of file