Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/03/2018 08:51:15 PM (8 years ago)
Author:
boonebgorges
Message:

Introduce bp_is_large_install() and use throughout BuddyPress.

This checks provides a fallback that is not dependent on Multisite, and
helps prevent a fatal error introduced in [12241]. See #7980.

Props shanebp, dcavins, johnjamesjacoby.
Fixes #8012.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-friends/bp-friends-functions.php

    r12186 r12303  
    782782
    783783        // Bail out if the site has a ton of users.
    784         if ( is_multisite() && wp_is_large_network( 'users' ) ) {
     784        if ( bp_is_large_install() ) {
    785785                return;
    786786        }
Note: See TracChangeset for help on using the changeset viewer.