Make WordPress Core


Ignore:
Timestamp:
01/29/2012 07:56:33 PM (15 years ago)
Author:
nacin
Message:

Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440. see #5517.

File:
1 edited

Legend:

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

    r13113 r19784  
    1717        <lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate>
    1818        <docs>http://backend.userland.com/rss092</docs>
    19         <language><?php echo get_option('rss_language'); ?></language>
     19        <language><?php bloginfo_rss( 'language' ); ?></language>
    2020        <?php do_action('rss_head'); ?>
    2121
Note: See TracChangeset for help on using the changeset viewer.