]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-feed.php
Wordpress 3.1.4
[autoinstalls/wordpress.git] / wp-feed.php
index 78daa6d226fb042f92607279ef1741f315378156..afce8cd4c287be8ec239c6286d3b49afc0ed86e7 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * Redirects to the RSS2 feed
+ * Redirects to the default feed
  * This file is deprecated and only exists for backwards compatibility
  *
  * @package WordPress
  */
 
 require( './wp-load.php' );
-wp_redirect( get_bloginfo( 'rss2_url' ), 301 );
-
-?>
\ No newline at end of file
+wp_redirect( get_bloginfo( get_default_feed() . '_url' ), 301 );
+exit;
+?>