Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#10565 closed enhancement (fixed)

Pass filename to 'wp_feed_cache_transient_lifetime' filer

Reported by: dd32 Owned by:
Priority: normal Milestone: 2.9
Component: General Version: 2.9
Severity: normal Keywords: has-patch tested
Cc: Focuses:

Description

Pass filename to 'wp_feed_cache_transient_lifetime' filer to allow for a per-hostname or per-url cache timeout.

For example, I may want local-feeds to receive a 1hour timeout, whilst leaving remote feeds as 12hours.

Attachments (1)

10565.diff​ (600 bytes ) - added by dd32 17 years ago.

Download all attachments as: .zip

Change History (2)

@dd32
17 years ago

#1 @westi
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [11787]) Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.

Note: See TracTickets for help on using tickets.