]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-commentsrss2.php
Wordpress 3.1.1-scripts
[autoinstalls/wordpress.git] / wp-commentsrss2.php
index 5c3f169f6aa794075a6809b9d0d9f18935f91795..280766ed4674416ab5049ab44c20faf93e23065d 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');
-
-?>
\ No newline at end of file
+require( './wp-load.php' );
+wp_redirect( get_bloginfo( 'comments_rss2_url' ), 301 );
+exit;
+?>