Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/29/2020 06:44:23 PM (4 years ago)
Author:
boonebgorges
Message:

Remove terms blacklist and whitelist in inline comments and local variables.

The change is in order to promote clearer and more inclusive language.

See #8339.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-user-query.php

    r12602 r12694  
    574574        ), $this ) );
    575575
    576         // We calculate total_users using a standalone query, except
    577         // when a whitelist of user_ids is passed to the constructor.
    578         // This clause covers the latter situation, and ensures that
    579         // pagination works when querying by $user_ids.
     576        /*
     577         * We calculate total_users using a standalone query, except
     578         * when a list of specific user_ids is passed to the constructor.
     579         * This clause covers the latter situation, and ensures that
     580         * pagination works when querying by $user_ids.
     581         */
    580582        if ( empty( $this->total_users ) ) {
    581583            $this->total_users = count( $wp_user_query->results );
Note: See TracChangeset for help on using the changeset viewer.