]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-rss.php
Wordpress 3.1.4
[autoinstalls/wordpress.git] / wp-rss.php
index 6f08ee8dc6e38afee3ce04c8e5ce923fc4d18d80..af2427ad5c8c4a9ef60fd637ffe40a9be6ae4ae8 100644 (file)
@@ -1,10 +1,12 @@
 <?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');
-
-?>
\ No newline at end of file
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'rss_url' ), 301 );
+exit;
+?>