WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/11/2008 06:18:22 PM (12 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

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

    r6742 r7244  
    2424            printf(__('Comments for %s'), get_bloginfo_rss( 'name' ) . get_wp_title_rss());
    2525    ?></title>
    26     <atom:link href="<?php bloginfo('comments_rss2_url') ?>" rel="self" type="application/rss+xml" />
     26    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    2727    <link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
    2828    <description><?php bloginfo_rss("description") ?></description>
Note: See TracChangeset for help on using the changeset viewer.