WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#9133 closed defect (bug) (fixed)

rss_update_period filter missing in feed-rdf.php

Reported by: jidanni Owned by:
Milestone: Priority: lowest
Severity: minor Version: 2.7
Component: Feeds Keywords: has-patch
Focuses: Cc:

Description

The former lacks the rss_update_period filter of the latter two:

wp-includes/feed-rdf.php:28:<sy:updatePeriod>hourly</sy:updatePeriod>
wp-includes/feed-rss2.php:31:<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
wp-includes/feed-rss2-comments.php:32:<sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>

Attachments (1)

9133-update-period-filter-added.patch (696 bytes) - added by hakre 13 years ago.
patch adds the filter for rss_update_period in feed-rdf.php

Download all attachments as: .zip

Change History (5)

#1 @jidanni
13 years ago

  • Version set to 2.7

#2 @jidanni
13 years ago

  • Cc jidanni@… added

@hakre
13 years ago

patch adds the filter for rss_update_period in feed-rdf.php

#3 @hakre
13 years ago

  • Keywords has-patch added

Supplied a patch, exection looks to work (test url: http://example.com/wordpress/feed/rdf/ ).

please review or just commit. small change only.

#4 @westi
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [10886]) Allow the update period to be filtered in RSS/RDF feeds. Fixes #9133 props hakre.

Note: See TracTickets for help on using tickets.