Add missing filter to sy:updateFrequency in RDF feed. Props ramiy. Fixes #12156

git-svn-id: https://develop.svn.wordpress.org/trunk@13002 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse 2010-02-07 03:43:52 +00:00
parent 8f6db1c96f
commit d4dce39218
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
<dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
<?php the_generator( 'rdf' ); ?> <?php the_generator( 'rdf' ); ?>
<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency> <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase> <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<?php do_action('rdf_header'); ?> <?php do_action('rdf_header'); ?>
<items> <items>