From 602f231a26c8f2a0af4f459e7a2fb954a5d09f85 Mon Sep 17 00:00:00 2001 From: Jeremy Felt Date: Thu, 7 Jul 2016 20:36:30 +0000 Subject: [PATCH] Docs: Correct the description of the `$network_id` in `WP_Site_Query`. Passing 0 for `network_id` results in a query across all networks. See #35791. Built from https://develop.svn.wordpress.org/trunk@38008 git-svn-id: http://core.svn.wordpress.org/trunk@37949 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-site-query.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-site-query.php b/wp-includes/class-wp-site-query.php index 44b54f0710..742b27b7b7 100644 --- a/wp-includes/class-wp-site-query.php +++ b/wp-includes/class-wp-site-query.php @@ -123,8 +123,8 @@ class WP_Site_Query { * an empty array, or 'none' to disable `ORDER BY` clause. * Default 'id'. * @type string $order How to order retrieved sites. Accepts 'ASC', 'DESC'. Default 'ASC'. - * @type int $network_id Limit results to those affiliated with a given network ID. - * Default current network ID. + * @type int $network_id Limit results to those affiliated with a given network ID. If 0, + * include all networks. Default 0. * @type array $network__in Array of network IDs to include affiliated sites for. Default empty. * @type array $network__not_in Array of network IDs to exclude affiliated sites for. Default empty. * @type string $domain Limit results to those affiliated with a given domain. diff --git a/wp-includes/version.php b/wp-includes/version.php index 2f55c180cf..7ae206b3db 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-beta2-38007'; +$wp_version = '4.6-beta2-38008'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.