Changeset 38925 for trunk/src/wp-includes/feed-atom-comments.php
- Timestamp:
- 10/25/2016 08:47:06 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed-atom-comments.php
r37674 r38925 38 38 <subtitle type="text"><?php bloginfo_rss('description'); ?></subtitle> 39 39 40 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastcommentmodified('GMT'), false); ?></updated> 40 <updated><?php 41 $date = get_lastcommentmodified( 'GMT' ); 42 echo $date ? mysql2date( 'Y-m-d\TH:i:s\Z', $date ) : date( 'Y-m-d\TH:i:s\Z' ); 43 ?></updated> 41 44 42 45 <?php if ( is_singular() ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.