summaryrefslogtreecommitdiffstats
path: root/wp-atom.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-atom.php')
-rw-r--r--wp-atom.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/wp-atom.php b/wp-atom.php
index 9ff49e6..136ee0e 100644
--- a/wp-atom.php
+++ b/wp-atom.php
@@ -1,7 +1,18 @@
<?php
+/**
+ * Outputs the Atom feed XML format using the feed-atom.php file in wp-includes
+ * folder. This file only sets the feed format and includes the feed-atom.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 atom feed is /index.php?feed=atom with permalinks off.
+ *
+ * @package WordPress
+ */
if (empty($wp)) {
- require_once('./wp-config.php');
+ require_once('./wp-load.php');
wp('feed=atom');
}