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.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>
Note: See TracChangeset for help on using the changeset viewer.