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

    r11980 r12587  
    1414  xmlns:thr="http://purl.org/syndication/thread/1.0"
    1515  xml:lang="<?php echo get_option('rss_language'); ?>"
    16   xml:base="<?php bloginfo_rss('home') ?>/wp-atom.php"
     16  xml:base="<?php bloginfo_rss('url') ?>/wp-atom.php"
    1717  <?php do_action('atom_ns'); ?>
    1818 >
     
    2323    <?php the_generator( 'atom' ); ?>
    2424
    25     <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
     25    <link rel="alternate" type="text/html" href="<?php bloginfo_rss('url') ?>" />
    2626    <id><?php bloginfo('atom_url'); ?></id>
    2727    <link rel="self" type="application/atom+xml" href="<?php self_link(); ?>" />
Note: See TracChangeset for help on using the changeset viewer.