summaryrefslogtreecommitdiffstats
path: root/wp-links-opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-links-opml.php')
-rw-r--r--wp-links-opml.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/wp-links-opml.php b/wp-links-opml.php
index dfa3a44..f536d61 100644
--- a/wp-links-opml.php
+++ b/wp-links-opml.php
@@ -1,7 +1,19 @@
<?php
+/**
+ * Outputs the OPML XML format for getting the links defined in the link
+ * administration. This can be used to export links from one blog over to
+ * another. Links aren't exported by the WordPress export, so this file handles
+ * that.
+ *
+ * This file is not added by default to WordPress theme pages when outputting
+ * feed links. It will have to be added manually for browsers and users to pick
+ * up that this file exists.
+ *
+ * @package WordPress
+ */
if (empty($wp)) {
- require_once('./wp-config.php');
+ require_once('./wp-load.php');
wp();
}