Changeset 41753 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 10/04/2017 10:16:21 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r41738 r41753 2530 2530 if ( 'users' == $using ) { 2531 2531 $count = get_user_count( $network_id ); 2532 $is_large = ( $count > 10000 );2533 2534 /** This filter is documented in wp-includes/functions.php */2535 $is_large = apply_filters( 'wp_is_large_user_count', $is_large, $count );2536 2537 2532 /** 2538 2533 * Filters whether the network is considered large. … … 2546 2541 * @param int $network_id The ID of the network being checked. 2547 2542 */ 2548 return apply_filters( 'wp_is_large_network', $ is_large, 'users', $count, $network_id );2543 return apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id ); 2549 2544 } 2550 2545
Note: See TracChangeset
for help on using the changeset viewer.