Show
Ignore:
Timestamp:
03/11/08 18:18:22 (6 months ago)
Author:
westi
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/feed-rss2.php

    r6517 r7244  
    2222<channel> 
    2323    <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title> 
    24     <atom:link href="<?php bloginfo('rss2_url') ?>" rel="self" type="application/rss+xml" /> 
     24    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" /> 
    2525    <link><?php bloginfo_rss('url') ?></link> 
    2626    <description><?php bloginfo_rss("description") ?></description>