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
This commit is contained in:
John Blackbourn 2017-10-09 14:26:49 +00:00
parent f14b24792a
commit b25e759621
3 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ class WP_Site_Query {
* @type string $search Search term(s) to retrieve matching sites for. Default empty. * @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'. * @type array $search_columns Array of column names to be searched. Accepts 'domain' and 'path'.
* Default empty array. * 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 = '' ) { public function __construct( $query = '' ) {

View File

@ -638,7 +638,7 @@ function update_site_cache( $sites ) {
* @type string $search Search term(s) to retrieve matching sites for. Default empty. * @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'. * @type array $search_columns Array of column names to be searched. Accepts 'domain' and 'path'.
* Default empty array. * 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. * @return array|int List of sites, or number of sites when 'count' is passed as a query var.
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.