Ticket #37419: 37419.2.patch
File 37419.2.patch, 1.3 KB (added by , 8 years ago) |
---|
-
src/wp-includes/class-wp-comment-query.php
151 151 * @since 4.4.0 Order by `comment__in` was added. `$update_comment_meta_cache`, `$no_found_rows`, 152 152 * `$hierarchical`, and `$update_comment_post_cache` were added. 153 153 * @since 4.5.0 Introduced the `$author_url` argument. 154 * @since 4.6.0 Introduced the `$cache_domain` argument. 154 155 * @access public 155 156 * 156 157 * @param string|array $query { … … 254 255 * Default true. 255 256 * @type bool $update_comment_post_cache Whether to prime the cache for comment posts. 256 257 * Default false. 258 * @type string $cache_domain Unique cache key to be produced when this query is stored in 259 * an object cache. Default is 'core'. 257 260 * } 258 261 */ 259 262 public function __construct( $query = '' ) { … … 301 304 'hierarchical' => false, 302 305 'update_comment_meta_cache' => true, 303 306 'update_comment_post_cache' => false, 307 'cache_domain' => 'core', 304 308 ); 305 309 306 310 if ( ! empty( $query ) ) {