Changeset 13108 for trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php
- Timestamp:
- 09/12/2021 08:43:39 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php
r12882 r13108 244 244 public function edit_field_options_html( array $args = array() ) { 245 245 $field_id = (int) $this->field_obj->id; 246 $params = wp_parse_args( $args, array( 'user_id' => bp_displayed_user_id() ) ); 246 $params = bp_parse_args( 247 $args, 248 array( 249 'user_id' => bp_displayed_user_id(), 250 ) 251 ); 247 252 $checkbox_acceptance = (int) maybe_unserialize( \BP_XProfile_ProfileData::get_value_byid( $field_id, $params['user_id'] ) ); 248 253
Note: See TracChangeset
for help on using the changeset viewer.