Multisite: Clarify return type of `get_sites()` when 'count' is passed as a query var.
Fixes #41789. Built from https://develop.svn.wordpress.org/trunk@41331 git-svn-id: http://core.svn.wordpress.org/trunk@41162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c3cf5cb324
commit
2526eb2d86
|
@ -630,7 +630,7 @@ function update_site_cache( $sites ) {
|
|||
* Default empty array.
|
||||
* @type bool $update_site_cache Whether to prime the cache for found sites. Default false.
|
||||
* }
|
||||
* @return array List of sites.
|
||||
* @return array|int List of sites, or number of sites when 'count' is passed as a query var.
|
||||
*/
|
||||
function get_sites( $args = array() ) {
|
||||
$query = new WP_Site_Query();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41330';
|
||||
$wp_version = '4.9-alpha-41331';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue