Changeset 4563 for trunk/wp-admin/export.php
- Timestamp:
- 12/01/2006 12:11:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/export.php
r4558 r4563 50 50 51 51 header('Content-Description: File Transfer'); 52 header('Content-Type: application/octet-stream');53 52 header("Content-Disposition: attachment; filename=$filename"); 54 header('Content-type: text/ wxr+xml; charset=' . get_option('blog_charset'), true);53 header('Content-type: text/xml; charset=' . get_option('blog_charset'), true); 55 54 56 55 $where = ''; … … 127 126 <!-- It contains information about your blog's posts, comments, and categories. --> 128 127 <!-- You may use this file to transfer that content from one site to another. --> 129 <!-- To import this information into a WordPress blog, --> 130 <!-- 1. Log into that blog as an administrator --> 131 <!-- 2. Go to Manage: Import in the blog's admin panels --> 132 <!-- 3. Choose "WordPress" from the list --> 133 <!-- 4. Upload this file using the form provided on that page --> 134 <!-- You will be taken through the simple import procedure. --> 128 <!-- This file is not intended to serve as a complete backup of your blog. --> 129 130 <!-- To import this information into a WordPress blog follow these steps. --> 131 <!-- 1. Log into that blog as an administrator. --> 132 <!-- 2. Go to Manage: Import in the blog's admin panels. --> 133 <!-- 3. Choose "WordPress" from the list. --> 134 <!-- 4. Upload this file using the form provided on that page. --> 135 <!-- 5. You will first be asked to map the authors in this export file to users --> 136 <!-- on the blog. For each author, you may choose to map to an --> 137 <!-- existing user on the blog or to create a new user --> 138 <!-- 6. WordPress will then import each of the posts, comments, and categories --> 139 <!-- contained in this file into your blog --> 135 140 136 141 <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" created="<?php echo date('Y-m-d H:m'); ?>"-->
Note: See TracChangeset
for help on using the changeset viewer.