Make WordPress Core


Ignore:
Timestamp:
10/06/2007 06:55:24 AM (17 years ago)
Author:
westi
Message:

Centralise generator generation, move theme generator generation to wp-head hook. Fixes #5085, #4803. props docwhat, Viper007Bond.

File:
1 edited

Legend:

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

    r5910 r6195  
    66<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    77
    8 <!-- generator="wordpress/<?php bloginfo_rss('version') ?>" -->
    98<rss version="2.0"
    109    xmlns:content="http://purl.org/rss/1.0/modules/content/"
     
    1918    <description><?php bloginfo_rss("description") ?></description>
    2019    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate>
    21     <generator>http://wordpress.org/?v=<?php bloginfo_rss('version'); ?></generator>
     20    <?php the_generator( 'rss2' ); ?>
    2221    <language><?php echo get_option('rss_language'); ?></language>
    2322    <?php do_action('rss2_head'); ?>
Note: See TracChangeset for help on using the changeset viewer.