Make WordPress Core

Ticket #4816: feed-atom-patch.txt

File feed-atom-patch.txt, 821 bytes (added by lapcat, 18 years ago)

Patch for wp-includes/feed-atom.php

Line 
1Index: wordpress2.2/wp-includes/feed-atom.php
2===================================================================
3--- wordpress2.2/wp-includes/feed-atom.php      (revision 5942)
4+++ wordpress2.2/wp-includes/feed-atom.php      (working copy)
5@@ -33,7 +33,7 @@
6                <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
7                <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
8                <id><?php the_guid(); ?></id>
9-               <updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
10+               <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
11                <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
12                <?php the_category_rss('atom') ?>
13                <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>