WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r4664 r5263  
    123123    echo '<wp:category_description>' . wxr_cdata($c->category_description) . '</wp:category_description>';
    124124}
    125 ?>
    126 <!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your blog. -->
    127 <!-- It contains information about your blog's posts, comments, and categories. -->
    128 <!-- You may use this file to transfer that content from one site to another. -->
    129 <!-- This file is not intended to serve as a complete backup of your blog. -->
    130 
    131 <!-- To import this information into a WordPress blog follow these steps. -->
    132 <!-- 1. Log into that blog as an administrator. -->
    133 <!-- 2. Go to Manage: Import in the blog's admin panels. -->
    134 <!-- 3. Choose "WordPress" from the list. -->
    135 <!-- 4. Upload this file using the form provided on that page. -->
    136 <!-- 5. You will first be asked to map the authors in this export file to users -->
    137 <!--    on the blog.  For each author, you may choose to map to an -->
    138 <!--    existing user on the blog or to create a new user -->
    139 <!-- 6. WordPress will then import each of the posts, comments, and categories -->
    140 <!--    contained in this file into your blog -->
     125
     126print '<?xml version="1.0" encoding="' . get_bloginfo('charset') . '"?' . ">\n";
     127
     128?>
     129
     130<!--
     131    This is a WordPress eXtended RSS file generated by WordPress as an export of
     132    your blog. It contains information about your blog's posts, comments, and
     133    categories. You may use this file to transfer that content from one site to
     134    another. This file is not intended to serve as a complete backup of your
     135    blog.
     136   
     137    To import this information into a WordPress blog follow these steps:
     138   
     139    1.  Log into that blog as an administrator.
     140    2.  Go to Manage > Import in the blog's admin.
     141    3.  Choose "WordPress" from the list of importers.
     142    4.  Upload this file using the form provided on that page.
     143    5.  You will first be asked to map the authors in this export file to users
     144        on the blog. For each author, you may choose to map an existing user on
     145        the blog or to create a new user.
     146    6.  WordPress will then import each of the posts, comments, and categories
     147        contained in this file onto your blog.
     148-->
    141149
    142150<!-- generator="wordpress/<?php bloginfo_rss('version') ?>" created="<?php echo date('Y-m-d H:m'); ?>"-->
     
    178186<wp:status><?php echo $post->post_status; ?></wp:status>
    179187<wp:post_parent><?php echo $post->post_parent; ?></wp:post_parent>
     188<wp:menu_order><?php echo $post->menu_order; ?></wp:menu_order>
    180189<wp:post_type><?php echo $post->post_type; ?></wp:post_type>
    181190<?php
Note: See TracChangeset for help on using the changeset viewer.