Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/31/2020 02:26:24 PM (4 years ago)
Author:
boonebgorges
Message:

Remove 'whitelist' language from xProfile component.

This is part of a set of changes to make our codebase clearer and
more inclusive to all contributors.

See #8339.

File:
1 edited

Legend:

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

    r12694 r12697  
    455455    // For certain fields, only certain parameters are acceptable, so add them to the list of allowed values.
    456456    if ( $field_type_obj->supports_options ) {
    457         $field_type_obj->set_whitelist_values( wp_list_pluck( $field->get_children(), 'name' ) );
     457        $field_type_obj->set_allowed_values( wp_list_pluck( $field->get_children(), 'name' ) );
    458458    }
    459459
Note: See TracChangeset for help on using the changeset viewer.