Ticket #21003: 21003.reinstate-cache.diff
File 21003.reinstate-cache.diff, 550 bytes (added by , 12 years ago) |
---|
-
wp-includes/comment.php
193 193 /** 194 194 * Metadata query container 195 195 * 196 * @since 3. ?196 * @since 3.5.0 197 197 * @access public 198 198 * @var object WP_Meta_Query 199 199 */ … … 257 257 $cache_key = "get_comments:$key:$last_changed"; 258 258 259 259 if ( $cache = wp_cache_get( $cache_key, 'comment' ) ) { 260 //return $cache;260 return $cache; 261 261 } 262 262 263 263 $post_id = absint($post_id);