mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Comments: Add 'parent__in' and 'parent__not_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. git-svn-id: https://develop.svn.wordpress.org/trunk@36479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -273,6 +273,8 @@ class WP_Comment_Query {
|
||||
'orderby' => '',
|
||||
'order' => 'DESC',
|
||||
'parent' => '',
|
||||
'parent__in' => '',
|
||||
'parent__not_in' => '',
|
||||
'post_author__in' => '',
|
||||
'post_author__not_in' => '',
|
||||
'post_ID' => '',
|
||||
|
||||
Reference in New Issue
Block a user