WordPress.org

Make WordPress Core

Changeset 10886


Ignore:
Timestamp:
04/07/2009 05:42:17 PM (9 years ago)
Author:
westi
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/feed-rdf.php

    r10377 r10886  
    2626    <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
    2727    <?php the_generator( 'rdf' ); ?>
    28     <sy:updatePeriod>hourly</sy:updatePeriod>
     28    <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
    2929    <sy:updateFrequency>1</sy:updateFrequency>
    3030    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
Note: See TracChangeset for help on using the changeset viewer.