Make WordPress Core


Ignore:
Timestamp:
10/04/2017 10:16:21 PM (9 years ago)
Author:
johnbillion
Message:

Users: Revert [41613], [41614], and [41623] as this feature needs some more work.

See #38741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r41738 r41753  
    25302530        if ( 'users' == $using ) {
    25312531                $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 
    25372532                /**
    25382533                 * Filters whether the network is considered large.
    … …  
    25462541                 * @param int    $network_id       The ID of the network being checked.
    25472542                 */
    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 );
    25492544        }
    25502545
Note: See TracChangeset for help on using the changeset viewer.