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