WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/12/2007 04:26:39 PM (12 years ago)
Author:
westi
Message:

Make the atom feed updated field actually tell you when the post was updated. Fixes #4816 props lapcat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-atom.php

    r5910 r6093  
    3434        <link rel="alternate" type="text/html" href="<?php the_permalink_rss() ?>" />
    3535        <id><?php the_guid(); ?></id>
    36         <updated><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></updated>
     36        <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
    3737        <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
    3838        <?php the_category_rss('atom') ?>
Note: See TracChangeset for help on using the changeset viewer.