WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/20/2007 10:35:44 AM (12 years ago)
Author:
westi
Message:

Add atom:self link to rss2 feeds per RSS Best Practices Profile. Fixes #5205 props lexhair and rubys.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rss2-comments.php

    r6195 r6278  
    77    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    88    xmlns:dc="http://purl.org/dc/elements/1.1/"
     9    xmlns:atom="http://www.w3.org/2005/Atom"
    910    >
    1011<channel>
     
    1718            printf(__('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss());
    1819    ?></title>
     20    <atom:link href="<?php bloginfo('comments_rss2_url') ?>" rel="self" type="application/rss+xml" />
    1921    <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
    2022    <description><?php bloginfo_rss("description") ?></description>
Note: See TracChangeset for help on using the changeset viewer.