mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
28d82148db
commit
a78b5259c6
@ -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 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user