[wp-trac] [WordPress Trac] #12156: rss_update_frequency FILTER
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 7 02:25:49 UTC 2010
#12156: rss_update_frequency FILTER
--------------------------+-------------------------------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9.2
Component: Feeds | Version: 2.9.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
In "__wp-includes/feed-rss2.php__" we have 2 filters:
<sy:updatePeriod><?php echo __apply_filters__( ''''rss_update_period'''',
'hourly' ); ?></sy:updatePeriod>
<sy:updateFrequency><?php echo __apply_filters__(
''''rss_update_frequency'''', '1' ); ?></sy:updateFrequency>
but in "__wp-includes/feed-rdf.php__" we have only 1 filter:
<sy:updatePeriod><?php echo __apply_filters__( ''''rss_update_period'''',
'hourly' ); ?></sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
----
This patch addes the "rss_update_frequency" filter to feed-rdf.php file.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12156>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list