Changeset 41613 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 09/27/2017 01:03:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41596 r41613 2554 2554 if ( 'users' == $using ) { 2555 2555 $count = get_user_count( $network_id ); 2556 $is_large = ( $count > 10000 ); 2557 2558 /** This filter is documented in wp-includes/functions.php */ 2559 $is_large = apply_filters( 'wp_is_large_user_count', $is_large, $count ); 2560 2556 2561 /** 2557 2562 * Filters whether the network is considered large. … … 2565 2570 * @param int $network_id The ID of the network being checked. 2566 2571 */ 2567 return apply_filters( 'wp_is_large_network', $ count > 10000, 'users', $count, $network_id );2572 return apply_filters( 'wp_is_large_network', $is_large, 'users', $count, $network_id ); 2568 2573 } 2569 2574
Note: See TracChangeset
for help on using the changeset viewer.