Multisite: More specificity for the `get_sites()` documentation.
See #41789 Built from https://develop.svn.wordpress.org/trunk@41333 git-svn-id: http://core.svn.wordpress.org/trunk@41164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a93298f0c7
commit
f66864af2e
|
@ -211,7 +211,7 @@ class WP_Site_Query {
|
|||
* @since 4.6.0
|
||||
*
|
||||
* @param string|array $query Array or URL query string of parameters.
|
||||
* @return array|int List of sites, or number of sites when 'count' is passed as a query var.
|
||||
* @return array|int List of WP_Site objects, or number of sites when 'count' is passed as a query var.
|
||||
*/
|
||||
public function query( $query ) {
|
||||
$this->query_vars = wp_parse_args( $query );
|
||||
|
@ -224,7 +224,7 @@ class WP_Site_Query {
|
|||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @return array|int List of sites, or number of sites when 'count' is passed as a query var.
|
||||
* @return array|int List of WP_Site objects, or number of sites when 'count' is passed as a query var.
|
||||
*/
|
||||
public function get_sites() {
|
||||
$this->parse_query();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41332';
|
||||
$wp_version = '4.9-alpha-41333';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue