Do not Query for posts on OPML exports, Fixes OPML export script 404'ing due to no pages matching 'wp-links-opml.php'. Fixes #15195

git-svn-id: http://svn.automattic.com/wordpress/trunk@15928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-10-23 12:17:33 +00:00
parent 5117ddfd49
commit fa9f9ed688
1 changed files with 2 additions and 5 deletions

View File

@ -12,10 +12,7 @@
* @package WordPress * @package WordPress
*/ */
if ( empty($wp) ) { require_once('./wp-load.php');
require_once('./wp-load.php');
wp();
}
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$link_cat = ''; $link_cat = '';