migration to get_settings

git-svn-id: http://svn.automattic.com/wordpress/trunk@1046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-04-01 13:30:29 +00:00
parent 800110b266
commit 5b7829456c
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ header('Content-type: text/xml', true);
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT')); ?></lastBuildDate>
<docs>http://backend.userland.com/rss092</docs>
<managingEditor><?php echo antispambot(get_settings('admin_email')) ?></managingEditor>
<webMaster><?php echo antispambot($admin_email) ?></webMaster>
<webMaster><?php echo antispambot(get_settings('admin_email')) ?></webMaster>
<language><?php echo get_settings('rss_language'); ?></language>
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>

View File

@ -17,7 +17,7 @@ header('Content-type: application/rss+xml', true);
<title><?php bloginfo_rss('name') ?></title>
<link><?php bloginfo_rss('url') ?></link>
<description><?php bloginfo_rss("description") ?></description>
<language><?php echo $rss_language ?></language>
<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>