mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-25 02:10:19 +00:00
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:
@@ -5,7 +5,6 @@ $more = 1;
|
||||
?>
|
||||
<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
||||
|
||||
<!-- generator="wordpress/<?php bloginfo_rss('version') ?>" -->
|
||||
<rss version="2.0"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
@@ -18,7 +17,7 @@ $more = 1;
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></pubDate>
|
||||
<generator>http://wordpress.org/?v=<?php bloginfo_rss('version'); ?></generator>
|
||||
<?php the_generator( 'rss2' ); ?>
|
||||
<language><?php echo get_option('rss_language'); ?></language>
|
||||
<?php do_action('rss2_head'); ?>
|
||||
<?php while( have_posts()) : the_post(); ?>
|
||||
|
||||
Reference in New Issue
Block a user