summaryrefslogtreecommitdiffstats
path: root/wp-commentsrss2.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-commentsrss2.php')
-rw-r--r--wp-commentsrss2.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/wp-commentsrss2.php b/wp-commentsrss2.php
index 5f5f8b4..f3bfce5 100644
--- a/wp-commentsrss2.php
+++ b/wp-commentsrss2.php
@@ -1,7 +1,20 @@
<?php
+/**
+ * Outputs the RSS2 XML format comment feed using the feed-rss2.php file in
+ * wp-includes folder. This file only sets the feed format and includes the
+ * feed-rss2-comments.php.
+ *
+ * This file is no longer used in WordPress and while it is not deprecated now.
+ * This file will most likely be deprecated or removed in a later version.
+ *
+ * The link for the rss2 comment feed is /index.php?feed=rss2&withcomments=1
+ * with permalinks off.
+ *
+ * @package WordPress
+ */
if (empty($wp)) {
- require_once('./wp-config.php');
+ require_once('./wp-load.php');
wp('feed=rss2&withcomments=1');
}