Better self links for feeds. Fixes #5238 props andy.

git-svn-id: https://develop.svn.wordpress.org/trunk@7244 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2008-03-11 18:18:22 +00:00
parent eda2d37158
commit e3d814abc3
4 changed files with 20 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ $more = 1;
<link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
<id><?php bloginfo('atom_url'); ?></id>
<link rel="self" type="application/atom+xml" href="<?php bloginfo('atom_url'); ?>" />
<link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" />
<?php do_action('atom_head'); ?>
<?php while (have_posts()) : the_post(); ?>