diff --git a/wp-admin/export.php b/wp-admin/export.php index ad654b008c..5fb7876a63 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -49,9 +49,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' ) { @@ -126,12 +125,18 @@ function wxr_category_description($c) { - - - - - - + + + + + + + + + + + +