From aae5b160f307adf0703ae8f7c2b158b91570ec95 Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 1 Dec 2006 12:27:29 +0000 Subject: WP Merge to 4578, except for script-loader git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@817 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-admin/export.php | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'wp-admin/export.php') diff --git a/wp-admin/export.php b/wp-admin/export.php index 2f69320..1a49700 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -50,9 +50,8 @@ global $wpdb, $posts, $post; $filename = 'wordpress.' . date('Y-m-d') . '.xml'; header('Content-Description: File Transfer'); -header('Content-Type: application/octet-stream'); header("Content-Disposition: attachment; filename=$filename"); -header('Content-type: text/wxr+xml; charset=' . get_option('blog_charset'), true); +header('Content-type: text/xml; charset=' . get_option('blog_charset'), true); $where = ''; if ( isset( $_GET['author'] ) && $_GET['author'] != 'all' ) { @@ -127,12 +126,18 @@ function wxr_category_description($c) { - - - - - - + + + + + + + + + + + +