From b25e7596216f624b868817623ab0d3a45f65960e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 9 Oct 2017 14:26:49 +0000 Subject: [PATCH] Networks and Sites: Correct the documentation for the `update_site_cache` parameter of `WP_Site_Query`. Props welcher, sudar Fixes #42155 Built from https://develop.svn.wordpress.org/trunk@41795 git-svn-id: http://core.svn.wordpress.org/trunk@41629 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-site-query.php | 2 +- wp-includes/ms-blogs.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-site-query.php b/wp-includes/class-wp-site-query.php index 18140d1fdd..6f3de914ae 100644 --- a/wp-includes/class-wp-site-query.php +++ b/wp-includes/class-wp-site-query.php @@ -136,7 +136,7 @@ class WP_Site_Query { * @type string $search Search term(s) to retrieve matching sites for. Default empty. * @type array $search_columns Array of column names to be searched. Accepts 'domain' and 'path'. * Default empty array. - * @type bool $update_site_cache Whether to prime the cache for found sites. Default false. + * @type bool $update_site_cache Whether to prime the cache for found sites. Default true. * } */ public function __construct( $query = '' ) { diff --git a/wp-includes/ms-blogs.php b/wp-includes/ms-blogs.php index f5b57fd6e7..7a125c34f8 100644 --- a/wp-includes/ms-blogs.php +++ b/wp-includes/ms-blogs.php @@ -638,7 +638,7 @@ function update_site_cache( $sites ) { * @type string $search Search term(s) to retrieve matching sites for. Default empty. * @type array $search_columns Array of column names to be searched. Accepts 'domain' and 'path'. * Default empty array. - * @type bool $update_site_cache Whether to prime the cache for found sites. Default false. + * @type bool $update_site_cache Whether to prime the cache for found sites. Default true. * } * @return array|int List of sites, or number of sites when 'count' is passed as a query var. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index bbb994b6f0..7612a28e8b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-beta1-41794'; +$wp_version = '4.9-beta1-41795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.