Changeset 12697 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 07/31/2020 02:26:24 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r12694 r12697 455 455 // For certain fields, only certain parameters are acceptable, so add them to the list of allowed values. 456 456 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' ) ); 458 458 } 459 459
Note: See TracChangeset
for help on using the changeset viewer.