Networks and Sites: Correct the documentation for the update_site_cache parameter of WP_Site_Query.

Props welcher, sudar
Fixes #42155


git-svn-id: https://develop.svn.wordpress.org/trunk@41795 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-10-09 14:25:52 +00:00
parent c8a0c7f7d8
commit a98e73f94f
2 changed files with 2 additions and 2 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 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 = '' ) {

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 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.
*/