diff --git a/wp-links-opml.php b/wp-links-opml.php index e8aed950bb..e30869bdc8 100644 --- a/wp-links-opml.php +++ b/wp-links-opml.php @@ -12,10 +12,7 @@ * @package WordPress */ -if ( empty($wp) ) { - require_once('./wp-load.php'); - wp(); -} +require_once('./wp-load.php'); header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); $link_cat = ''; @@ -59,4 +56,4 @@ foreach ( (array)$cats as $cat ) : endforeach; // $cats ?> - + \ No newline at end of file