WordPress.org

Make WordPress Core

Ticket #25510: 25510.2.diff

File 25510.2.diff, 1.1 KB (added by swissspidy, 8 years ago)
  • src/wp-includes/class-feed.php

    From c5234531b5b35f9df124e1321e5e8f2144d6b77b Mon Sep 17 00:00:00 2001
    From: swissspidy <hello@pascalbirchler.ch>
    Date: Mon, 7 Oct 2013 19:57:01 +0200
    Subject: [PATCH] Hooks Docs: wp-includes/class-feed.php. Second attempt.
    
    ---
     src/wp-includes/class-feed.php | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/wp-includes/class-feed.php b/src/wp-includes/class-feed.php
    index 0ec0739..6a6a7e4 100644
    a b class WP_Feed_Cache_Transient { 
    2727                /**
    2828                 * Filters the feed cache transient lifetime.
    2929                 *
    30                  * Allows to change the cache duration of the feed
     30                 * Allows to change the cache duration of the feed.
    3131                 *
    3232                 * @since 2.8.0
    3333                 *
    34                  * @param int    $this->lifetime The lifetime of the transient. Default is 12 hours.
     34                 * @param int    $this->lifetime Cache duration in seconds. Default is 43200 seconds (12 hours).
    3535                 * @param string $filename       Unique identifier for the cache object
    3636                 */
    3737                $this->lifetime = apply_filters('wp_feed_cache_transient_lifetime', $this->lifetime, $filename);