Ticket #4242: wxr-cdata.patch
File wxr-cdata.patch, 1.8 KB (added by , 17 years ago) |
---|
-
C:/xampp/htdocs/wordpress/trunk/wp-admin/includes/export.php
195 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> 198 <dc:creator><?php the_author()?></dc:creator>198 <dc:creator><?php echo wxr_cdata(get_the_author()); ?></dc:creator> 199 199 <?php wxr_post_taxonomy() ?> 200 200 201 201 <guid isPermaLink="false"><?php the_guid(); ?></guid> 202 202 <description></description> 203 <content:encoded>< ![CDATA[<?php echo apply_filters('the_content_export', $post->post_content); ?>]]></content:encoded>203 <content:encoded><?php echo wxr_cdata( apply_filters('the_content_export', $post->post_content) ); ?></content:encoded> 204 204 <wp:post_id><?php echo $post->ID; ?></wp:post_id> 205 205 <wp:post_date><?php echo $post->post_date; ?></wp:post_date> 206 206 <wp:post_date_gmt><?php echo $post->post_date_gmt; ?></wp:post_date_gmt> … … 238 238 <wp:comment_author_IP><?php echo $c->comment_author_IP; ?></wp:comment_author_IP> 239 239 <wp:comment_date><?php echo $c->comment_date; ?></wp:comment_date> 240 240 <wp:comment_date_gmt><?php echo $c->comment_date_gmt; ?></wp:comment_date_gmt> 241 <wp:comment_content><?php echo $c->comment_content;?></wp:comment_content>241 <wp:comment_content><?php wxr_cdata($c->comment_content) ?></wp:comment_content> 242 242 <wp:comment_approved><?php echo $c->comment_approved; ?></wp:comment_approved> 243 243 <wp:comment_type><?php echo $c->comment_type; ?></wp:comment_type> 244 244 <wp:comment_parent><?php echo $c->comment_parent; ?></wp:comment_parent>