WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/06/2007 06:55:24 AM (12 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-comments.php

    r6026 r6195  
    44echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
    55?>
    6 <!-- generator="wordpress/<?php echo $wp_version ?>" -->
    76<rss version="2.0"
    87    xmlns:content="http://purl.org/rss/1.0/modules/content/"
     
    2120    <description><?php bloginfo_rss("description") ?></description>
    2221    <pubDate><?php echo gmdate('r'); ?></pubDate>
    23     <generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>
     22    <?php the_generator( 'rss2' ); ?>
    2423    <?php do_action('commentsrss2_head'); ?>
    2524<?php
Note: See TracChangeset for help on using the changeset viewer.