From bbe284b1d15e4716ab9c110f8d69b8b48b44a0f1 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@6130 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/export.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-admin/export.php b/wp-admin/export.php index 18a941ffb..27fbe523b 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).")";