Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/29/2020 06:44:23 PM (5 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-xprofile/classes/class-bp-xprofile-component.php

    r12596 r12694  
    163163        $this->field_types = apply_filters( 'xprofile_field_types', array_keys( bp_xprofile_get_field_types() ) );
    164164
    165         // 'option' is a special case. It is not a top-level field, so
    166         // does not have an associated BP_XProfile_Field_Type class,
    167         // but it must be whitelisted.
     165        /*
     166         * 'option' is a special case. It is not a top-level field, so
     167         * does not have an associated BP_XProfile_Field_Type class,
     168         * but it must be explicitly allowed.
     169         */
    168170        $this->field_types[] = 'option';
    169171
Note: See TracChangeset for help on using the changeset viewer.