diff --git src/wp-includes/class-feed.php src/wp-includes/class-feed.php
index 342e04d..6a6a7e4 100644
|
|
|
class WP_Feed_Cache_Transient {
|
| 23 | 23 | function __construct($location, $filename, $extension) { |
| 24 | 24 | $this->name = 'feed_' . $filename; |
| 25 | 25 | $this->mod_name = 'feed_mod_' . $filename; |
| | 26 | |
| | 27 | /** |
| | 28 | * Filters the feed cache transient lifetime. |
| | 29 | * |
| | 30 | * Allows to change the cache duration of the feed. |
| | 31 | * |
| | 32 | * @since 2.8.0 |
| | 33 | * |
| | 34 | * @param int $this->lifetime Cache duration in seconds. Default is 43200 seconds (12 hours). |
| | 35 | * @param string $filename Unique identifier for the cache object |
| | 36 | */ |
| 26 | 37 | $this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime, $filename); |
| 27 | 38 | } |
| 28 | 39 | |