From 314f2aececf1134e66eb8e1038a7e27ebfe3459d Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Tue, 9 May 2017 16:02:46 +0000 Subject: [PATCH] Multisite: Add missing documentation for new `$network_id` parameter of `wp_maybe_update_network_site_counts()`. This was overlooked in [40591]. See #40384. Built from https://develop.svn.wordpress.org/trunk@40592 git-svn-id: http://core.svn.wordpress.org/trunk@40462 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/ms-functions.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index ee0544378e..2984eb5da7 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -2301,6 +2301,8 @@ function wp_update_network_counts( $network_id = null ) { * * @since 3.7.0 * @since 4.8.0 The $network_id parameter has been added. + * + * @param int|null $network_id ID of the network. Default is the current network. */ function wp_maybe_update_network_site_counts( $network_id = null ) { $is_small_network = ! wp_is_large_network( 'sites', $network_id ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7adc36a5a2..334ad98299 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-40591'; +$wp_version = '4.8-alpha-40592'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.