]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-rss2.php
Wordpress 2.6.2
[autoinstalls/wordpress.git] / wp-rss2.php
index 54531d324038690b5a0a20379254762959cab672..ba84ce99f5a409ed4d51f1f44a34ab20f73a7f7e 100644 (file)
@@ -1,7 +1,18 @@
 <?php
 <?php
+/**
+ * Outputs the RSS2 feed XML format using the feed-rss2.php file in wp-includes
+ * folder. This file only sets the feed format and includes the feed-rss2.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 feed is /index.php?feed=rss2 with permalinks off.
+ *
+ * @package WordPress
+ */
 
 if (empty($wp)) {
 
 if (empty($wp)) {
-       require_once('./wp-config.php');
+       require_once('./wp-load.php');
        wp('feed=rss2');
 }
 
        wp('feed=rss2');
 }