]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-rss.php
Wordpress 3.0.5
[autoinstalls/wordpress.git] / wp-rss.php
index 6f08ee8dc6e38afee3ce04c8e5ce923fc4d18d80..0ae63a2380d2770b7cbe9f210c28e60fd06c55ee 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 <?php
+/**
+ * Redirects to the RSS feed
+ * This file is deprecated and only exists for backwards compatibility
+ *
+ * @package WordPress
+ */
 
 
-if (empty($wp)) {
-       require_once('./wp-config.php');
-       wp('feed=rss');
-}
-
-require (ABSPATH . WPINC . '/feed-rss.php');
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'rss_url' ), 301 );
 
 ?>
\ No newline at end of file
 
 ?>
\ No newline at end of file