WordPress.org

Make WordPress Core

Changeset 4563


Ignore:
Timestamp:
12/01/2006 12:11:43 AM (11 years ago)
Author:
ryan
Message:

Export file content type fixups from mdawaffe. fixes #3080

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/export.php

    r4558 r4563  
    5050
    5151header('Content-Description: File Transfer');
    52 header('Content-Type: application/octet-stream');
    5352header("Content-Disposition: attachment; filename=$filename");
    54 header('Content-type: text/wxr+xml; charset=' . get_option('blog_charset'), true);
     53header('Content-type: text/xml; charset=' . get_option('blog_charset'), true);
    5554
    5655$where = '';
     
    127126<!-- It contains information about your blog's posts, comments, and categories. -->
    128127<!-- 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 -->
    135140
    136141<!-- 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.