diff --git a/wp-admin/export.php b/wp-admin/export.php index 3942aba89..1a35e51fc 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -30,10 +30,20 @@ function export_wp() { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header("Content-Disposition: attachment; filename=$filename"); -header('Content-type: text/xml; charset=' . get_option('blog_charset'), true); +header('Content-type: text/wxr+xml; charset=' . get_option('blog_charset'), true); //$posts = query_posts(''); $posts = $wpdb->get_results("SELECT * FROM $wpdb->posts ORDER BY post_date_gmt ASC"); ?> + + + + + + + + + + } include ('admin-footer.php'); -?> \ No newline at end of file +?>