Changeset 6753
- Timestamp:
- 02/07/2008 07:22:59 PM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wordpress.php
r6726 r6753 351 351 $menu_order = $this->get_tag( $post, 'wp:menu_order' ); 352 352 $post_type = $this->get_tag( $post, 'wp:post_type' ); 353 $post_password = $this->get_tag( $post, 'wp:post_password' ); 353 354 $guid = $this->get_tag( $post, 'guid' ); 354 355 $post_author = $this->get_tag( $post, 'dc:creator' ); … … 401 402 $post_author = $this->checkauthor($post_author); //just so that if a post already exists, new users are not created by checkauthor 402 403 403 $postdata = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type' );404 $postdata = compact('post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent', 'menu_order', 'post_type', 'post_password'); 404 405 if ($post_type == 'attachment') { 405 406 $remote_url = $this->get_tag( $post, 'wp:attachment_url' ); -
trunk/wp-admin/includes/export.php
r6726 r6753 193 193 setup_postdata($post); ?> 194 194 <item> 195 <title><?php the_title_rss()?></title>195 <title><?php echo apply_filters('the_title_rss', $post->post_title); ?></title> 196 196 <link><?php the_permalink_rss() ?></link> 197 197 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> … … 212 212 <wp:menu_order><?php echo $post->menu_order; ?></wp:menu_order> 213 213 <wp:post_type><?php echo $post->post_type; ?></wp:post_type> 214 <wp:post_password><?php echo $post->post_password; ?></wp:post_password> 214 215 <?php 215 216 if ($post->post_type == 'attachment') { ?>
Note: See TracChangeset
for help on using the changeset viewer.