Remove language elements from RSS files.
git-svn-id: https://develop.svn.wordpress.org/trunk@1216 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8b3f6450f1
commit
9525e4c63c
@ -18,7 +18,6 @@ header('Content-type: text/xml', true);
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>
|
||||
<docs>http://backend.userland.com/rss092</docs>
|
||||
<language><?php echo get_settings('rss_language'); ?></language>
|
||||
|
||||
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
||||
<item>
|
||||
|
@ -20,7 +20,6 @@ header('Content-type: text/xml', true);
|
||||
<title><?php bloginfo_rss('name') ?></title>
|
||||
<link><?php bloginfo_rss('url') ?></link>
|
||||
<description><?php bloginfo_rss("description") ?></description>
|
||||
<language><?php echo get_settings('rss_language'); ?></language>
|
||||
<copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate()); ?></copyright>
|
||||
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></pubDate>
|
||||
<generator>http://wordpress.org/?v=<?php echo $wp_version ?></generator>
|
||||
|
Loading…
Reference in New Issue
Block a user