]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-commentsrss2.php
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-commentsrss2.php
index 5c3f169f6aa794075a6809b9d0d9f18935f91795..1c146b1472cbeaed4cd26a8648b5b267c9a89a0e 100644 (file)
@@ -1,10 +1,12 @@
 <?php
+/**
+ * Redirects to the Comments 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&withcomments=1');
-}
-
-require (ABSPATH . WPINC . '/feed-rss2-comments.php');
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'comments_rss2_url' ), 301 );
 
 ?>
\ No newline at end of file