Ticket #21305: feed-atom.diff
File feed-atom.diff, 1.7 KB (added by , 12 years ago) |
---|
-
wp-includes/feed-atom.php
21 21 22 22 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></updated> 23 23 24 <link rel="alternate" type=" text/html" href="<?php bloginfo_rss('url') ?>" />24 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('url') ?>" /> 25 25 <id><?php bloginfo('atom_url'); ?></id> 26 26 <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" /> 27 27 … … 36 36 do_action('atom_author'); ?> 37 37 </author> 38 38 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title> 39 <link rel="alternate" type=" text/html" href="<?php the_permalink_rss() ?>" />39 <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink_rss() ?>" /> 40 40 <id><?php the_guid() ; ?></id> 41 41 <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated> 42 42 <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published> … … 47 47 <?php endif; ?> 48 48 <?php atom_enclosure(); ?> 49 49 <?php do_action('atom_entry'); ?> 50 <link rel="replies" type=" text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/>50 <link rel="replies" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/> 51 51 <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/> 52 52 <thr:total><?php echo get_comments_number()?></thr:total> 53 53 </entry>