Ticket #21003: 21003.reinstate-cache.diff

File 21003.reinstate-cache.diff, 550 bytes (added by duck_, 8 months ago)
  • wp-includes/comment.php

     
    193193        /** 
    194194         * Metadata query container 
    195195         * 
    196          * @since 3.? 
     196         * @since 3.5.0 
    197197         * @access public 
    198198         * @var object WP_Meta_Query 
    199199         */ 
     
    257257                $cache_key = "get_comments:$key:$last_changed"; 
    258258 
    259259                if ( $cache = wp_cache_get( $cache_key, 'comment' ) ) { 
    260                         //return $cache; 
     260                        return $cache; 
    261261                } 
    262262 
    263263                $post_id = absint($post_id);