From a78b5259c6d7c30fd3118924cd93465251d2c83b Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Tue, 9 May 2017 16:01:49 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@40592 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/ms-functions.php b/src/wp-includes/ms-functions.php index ee0544378e..2984eb5da7 100644 --- a/src/wp-includes/ms-functions.php +++ b/src/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 );