From 6df40aea7853649f8c307783fc4dcbbd56e413f4 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 11 Sep 2007 18:56:16 +0000 Subject: [PATCH] Use setup_postdata instead of deprecated start_wp. fixes #3188 git-svn-id: http://svn.automattic.com/wordpress/trunk@6077 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/export.php b/wp-admin/export.php index 39731751bf..18a941ffbb 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -193,7 +193,7 @@ print '\n"; $where = "WHERE ID IN (".join(',', $next_posts).")"; $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts $where ORDER BY post_date_gmt ASC"); foreach ($posts as $post) { - start_wp(); ?> + setup_postdata($post); ?> <?php the_title_rss() ?>