Escape the guid urls when placing them in feeds and other xml locations. See #13555.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi
2010-05-26 17:01:21 +00:00
parent 85ac8135d4
commit b54183ae4c
5 changed files with 6 additions and 6 deletions

View File

@@ -347,7 +347,7 @@ function export_wp( $args = array() ) {
<dc:creator><?php echo wxr_cdata( get_the_author() ); ?></dc:creator>
<?php wxr_post_taxonomy() ?>
<guid isPermaLink="false"><?php the_guid(); ?></guid>
<guid isPermaLink="false"><?php esc_url( the_guid() ); ?></guid>
<description></description>
<content:encoded><?php echo wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) ); ?></content:encoded>
<excerpt:encoded><?php echo wxr_cdata( apply_filters( 'the_excerpt_export', $post->post_excerpt ) ); ?></excerpt:encoded>