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
@@ -21,7 +21,7 @@ $more = 1;
<channel>
<title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>
<atom:link href="<?php bloginfo('rss2_url') ?>" rel="self" type="application/rss+xml" />
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
<link><?php bloginfo_rss('url') ?></link>
<description><?php bloginfo_rss("description") ?></description>
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate>