Allow the update period to be filtered in RSS/RDF feeds. Fixes #9133 props hakre.

git-svn-id: https://develop.svn.wordpress.org/trunk@10886 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2009-04-07 17:42:17 +00:00
parent 21711bdc58
commit 71da14eb1d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ $more = 1;
<description><?php bloginfo_rss('description') ?></description>
<dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
<?php the_generator( 'rdf' ); ?>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<?php do_action('rdf_header'); ?>