diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index 2e652762ca..d1fb20e7d8 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/wp-includes/class-wp-comment-query.php @@ -151,6 +151,7 @@ class WP_Comment_Query { * @since 4.4.0 Order by `comment__in` was added. `$update_comment_meta_cache`, `$no_found_rows`, * `$hierarchical`, and `$update_comment_post_cache` were added. * @since 4.5.0 Introduced the `$author_url` argument. + * @since 4.6.0 Introduced the `$cache_domain` argument. * @access public * * @param string|array $query { @@ -250,6 +251,8 @@ class WP_Comment_Query { * The parameter is ignored (forced to `false`) when * `$fields` is 'ids' or 'counts'. Accepts 'threaded', * 'flat', or false. Default: false. + * @type string $cache_domain Unique cache key to be produced when this query is stored in + * an object cache. Default is 'core'. * @type bool $update_comment_meta_cache Whether to prime the metadata cache for found comments. * Default true. * @type bool $update_comment_post_cache Whether to prime the cache for comment posts. @@ -299,6 +302,7 @@ class WP_Comment_Query { 'meta_query' => '', 'date_query' => null, // See WP_Date_Query 'hierarchical' => false, + 'cache_domain' => 'core', 'update_comment_meta_cache' => true, 'update_comment_post_cache' => false, ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2ef1d6d275..f1f5e3c35a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta3-38116'; +$wp_version = '4.6-beta3-38117'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.