Add menu_order and page_name to WP import/export. Props takaykister. fixes #4024

git-svn-id: http://svn.automattic.com/wordpress/trunk@5208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n
2007-04-07 16:36:10 +00:00
parent c7f54c6afe
commit 62b2339e4b
2 changed files with 4 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ function wxr_category_description($c) {
<wp:post_name><?php echo $post->post_name; ?></wp:post_name>
<wp:status><?php echo $post->post_status; ?></wp:status>
<wp:post_parent><?php echo $post->post_parent; ?></wp:post_parent>
<wp:menu_order><?php echo $post->menu_order; ?></wp:menu_order>
<wp:post_type><?php echo $post->post_type; ?></wp:post_type>
<?php
$postmeta = $wpdb->get_results("SELECT * FROM $wpdb->postmeta WHERE post_id = $post->ID");