Make WordPress Core


Ignore:
Timestamp:
02/05/2016 06:35:47 PM (10 years ago)
Author:
boonebgorges
Message:

Comments: Add 'parentin' and 'parentnot_in' to query var defaults.

Query var defaults are used to calculate a cache key. The fact that these
params were not listed among the defaults was causing cache keys to be
insufficiently specific.

Props danielbachhuber.
Fixes #35677.

File:
1 edited

Legend:

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

    r36381 r36479  
    274274            'order' => 'DESC',
    275275            'parent' => '',
     276            'parent__in' => '',
     277            'parent__not_in' => '',
    276278            'post_author__in' => '',
    277279            'post_author__not_in' => '',
Note: See TracChangeset for help on using the changeset viewer.