Make WordPress Core


Ignore:
Timestamp:
06/14/2015 07:20:12 PM (9 years ago)
Author:
nacin
Message:

Update comment caches in WP_Comment_Query, rather than comments template.

props dd32.
fixes #31081.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/comment-template.php

    r32568 r32769  
    12031203    $comments = &$wp_query->comments;
    12041204    $wp_query->comment_count = count($wp_query->comments);
    1205     update_comment_cache($wp_query->comments);
    12061205
    12071206    if ( $separate_comments ) {
Note: See TracChangeset for help on using the changeset viewer.