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:
parent
f14b24792a
commit
b25e759621
|
@ -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 = '' ) {
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue