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: https://develop.svn.wordpress.org/trunk@15928 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7dc089e685
commit
ccf9dfdf9a
@ -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 = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user