From 7aabf7336f6888e12c43dd8efbf461e2ddeb50b8 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 18 Sep 2007 18:01:47 +0000 Subject: [PATCH] Fake being in the loop during export so that template tags work. git-svn-id: https://develop.svn.wordpress.org/trunk@6130 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/export.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/export.php b/wp-admin/export.php index 18a941ffbb..27fbe523b7 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -188,6 +188,8 @@ print '\n"; in_the_loop = true; // Fake being in the loop. // fetch 20 posts at a time rather than loading the entire table into memory while ( $next_posts = array_splice($post_ids, 0, 20) ) { $where = "WHERE ID IN (".join(',', $next_posts).")";