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

git-svn-id: https://develop.svn.wordpress.org/trunk@6195 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2007-10-06 06:55:24 +00:00
parent 4a6a16fef1
commit 3c2cc79a46
13 changed files with 56 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ $more = 1;
?>
<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<!-- generator="wordpress/<?php echo $wp_version ?>" -->
<?php the_generator( 'comment' ); ?>
<rss version="0.92">
<channel>
<title><?php bloginfo_rss('name'); wp_title_rss(); ?></title>