Make WordPress Core


Ignore:
Timestamp:
12/30/2009 05:05:02 PM (16 years ago)
Author:
westi
Message:

Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.

File:
1 edited

Legend:

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

    r11323 r12587  
    3737    <id><?php echo get_search_comments_feed_link('', 'atom'); ?></id>
    3838<?php } else { ?>
    39     <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('home'); ?>" />
     39    <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php bloginfo_rss('url'); ?>" />
    4040    <link rel="self" type="application/atom+xml" href="<?php bloginfo_rss('comments_atom_url'); ?>" />
    4141    <id><?php bloginfo_rss('comments_atom_url'); ?></id>
Note: See TracChangeset for help on using the changeset viewer.