Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi
2010-05-26 17:27:18 +00:00
parent dd9d57ec6a
commit 8b4a635d8b
5 changed files with 8 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
</author>
<title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
<link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
<id><?php esc_url( the_guid() ); ?></id>
<id><?php the_guid() ; ?></id>
<updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
<published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
<?php the_category_rss('atom') ?>