Changeset 40593
- Timestamp:
- 05/09/2017 04:07:46 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r40592 r40593 2331 2331 * 2332 2332 * @since 3.7.0 2333 */ 2334 function wp_maybe_update_network_user_counts() { 2335 $is_small_network = ! wp_is_large_network( 'users' ); 2333 * @since 4.8.0 The $network_id parameter has been added. 2334 * 2335 * @param int|null $network_id ID of the network. Default is the current network. 2336 */ 2337 function wp_maybe_update_network_user_counts( $network_id = null ) { 2338 $is_small_network = ! wp_is_large_network( 'users', $network_id ); 2336 2339 2337 2340 /** This filter is documented in wp-includes/ms-functions.php */ … … 2339 2342 return; 2340 2343 2341 wp_update_network_user_counts( );2344 wp_update_network_user_counts( $network_id ); 2342 2345 } 2343 2346
Note: See TracChangeset
for help on using the changeset viewer.