Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#9983 closed enhancement (invalid)

filter for feed limits (like comment_feed_limits)

Reported by: neoxx's profile neoxx Owned by: westi's profile westi
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Feeds Keywords: reporter-feedback
Focuses: Cc:

Description

hi guys,

as i use my feeds to create a google map with my posts, comments, tags, etc., i always had to edit query.php to customize the size of my geo-feeds.

recently i figured out, that we now have a comment_feed_limits filter, which is applied in query.php. :) what do you think about an additional filter, which controls the size of our post feeds? i added a patch to the ticket...

greetz,
berny

Attachments (1)

9983.patch (439 bytes) - added by neoxx 16 years ago.
feed_limits filter

Download all attachments as: .zip

Change History (4)

@neoxx
16 years ago

feed_limits filter

#1 @westi
16 years ago

  • Keywords reporter-feedback added; feed rss atom filter has-patch removed
  • Milestone 2.8 deleted
  • Owner set to westi
  • Status changed from new to accepted

You can already use the following filters which run in get_option:

pre_option_posts_per_rss - to force to a particular value early on
option_posts_per_rss - to filter the stored value.

#2 @neoxx
16 years ago

hi westi,

thanks again for your quick reply. - i implemented the pre_option filter and it works like a charm. :)

greetz,
berny

#3 @westi
16 years ago

  • Resolution set to invalid
  • Status changed from accepted to closed

Good!

Note: See TracTickets for help on using tickets.