Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.

git-svn-id: http://svn.automattic.com/wordpress/trunk@11787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-08-07 17:17:40 +00:00
parent 45ec67dc13
commit f027bbd170
1 changed files with 1 additions and 1 deletions

View File

@ -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) {