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-atom.php

    r6493 r7244  
    2626    <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
    2727    <id><?php bloginfo('atom_url'); ?></id>
    28     <link rel="self" type="application/atom+xml" href="<?php bloginfo('atom_url'); ?>" />
     28    <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" />
    2929
    3030    <?php do_action('atom_head'); ?>
Note: See TracChangeset for help on using the changeset viewer.