Docs: Correct the parameter type for `networks_pre_query` filter.
The filter should return the network count as an integer if `$this->query_vars['count']` is set. Follow-up to [46100]. See #50768, #47599. Built from https://develop.svn.wordpress.org/trunk@48984 git-svn-id: http://core.svn.wordpress.org/trunk@48746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ac00862f44
commit
06e53b90a1
|
@ -211,7 +211,7 @@ class WP_Network_Query {
|
||||||
*
|
*
|
||||||
* @since 5.2.0
|
* @since 5.2.0
|
||||||
*
|
*
|
||||||
* @param array|null $network_data Return an array of network data to short-circuit WP's network query,
|
* @param array|int|null $network_data Return an array of network data to short-circuit WP's network query,
|
||||||
* the network count as an integer if `$this->query_vars['count']` is set,
|
* the network count as an integer if `$this->query_vars['count']` is set,
|
||||||
* or null to allow WP to run its normal queries.
|
* or null to allow WP to run its normal queries.
|
||||||
* @param WP_Network_Query $this The WP_Network_Query instance, passed by reference.
|
* @param WP_Network_Query $this The WP_Network_Query instance, passed by reference.
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.6-alpha-48983';
|
$wp_version = '5.6-alpha-48984';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
|
Loading…
Reference in New Issue