From c75ec2b48a6ab449e900179450a949a6864824df Mon Sep 17 00:00:00 2001 From: westi Date: Sat, 20 Oct 2007 10:35:44 +0000 Subject: [PATCH] Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys. git-svn-id: http://svn.automattic.com/wordpress/trunk@6278 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed-rss2-comments.php | 2 ++ wp-includes/feed-rss2.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/wp-includes/feed-rss2-comments.php b/wp-includes/feed-rss2-comments.php index f077a16d8..ba06573c8 100644 --- a/wp-includes/feed-rss2-comments.php +++ b/wp-includes/feed-rss2-comments.php @@ -6,6 +6,7 @@ echo ''; <?php @@ -16,6 +17,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; else printf(__('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss()); ?> + diff --git a/wp-includes/feed-rss2.php b/wp-includes/feed-rss2.php index c40814e83..5b330adbe 100644 --- a/wp-includes/feed-rss2.php +++ b/wp-includes/feed-rss2.php @@ -9,11 +9,13 @@ $more = 1; xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:atom="http://www.w3.org/2005/Atom" > <?php bloginfo_rss('name'); wp_title_rss(); ?> +