Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11787 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8381ee663f
commit
2cd8ded9aa
@ -32,7 +32,7 @@ class WP_Feed_Cache_Transient {
|
||||
function WP_Feed_Cache_Transient($location, $filename, $extension) {
|
||||
$this->name = 'feed_' . $filename;
|
||||
$this->mod_name = 'feed_mod_' . $filename;
|
||||
$this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime);
|
||||
$this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime, $filename);
|
||||
}
|
||||
|
||||
function save($data) {
|
||||
|
Loading…
Reference in New Issue
Block a user