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. Built from https://develop.svn.wordpress.org/trunk@36479 git-svn-id: http://core.svn.wordpress.org/trunk@36446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e42e8c6d72
commit
8e5cf1c2fe
|
@ -273,6 +273,8 @@ class WP_Comment_Query {
|
||||||
'orderby' => '',
|
'orderby' => '',
|
||||||
'order' => 'DESC',
|
'order' => 'DESC',
|
||||||
'parent' => '',
|
'parent' => '',
|
||||||
|
'parent__in' => '',
|
||||||
|
'parent__not_in' => '',
|
||||||
'post_author__in' => '',
|
'post_author__in' => '',
|
||||||
'post_author__not_in' => '',
|
'post_author__not_in' => '',
|
||||||
'post_ID' => '',
|
'post_ID' => '',
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-36478';
|
$wp_version = '4.5-alpha-36479';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue