Changeset 12533 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 01/20/2020 06:09:20 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r12529 r12533 467 467 $field->user_id = $user_id; 468 468 469 // Gets un/reserialized via xprofile_sanitize_data_value_before_save() 469 // Gets un/reserialized via xprofile_sanitize_data_value_before_save(). 470 470 $field->value = maybe_serialize( $value ); 471 471 … … 1198 1198 } 1199 1199 1200 // @todo - This is where you'd swap out for current_user_can() checks 1200 // @todo - This is where you'd swap out for current_user_can() checks. 1201 1201 $hidden_levels = bp_xprofile_get_hidden_field_types_for_user( $displayed_user_id, $current_user_id ); 1202 1202 $hidden_fields = bp_xprofile_get_fields_by_visibility_levels( $displayed_user_id, $hidden_levels );
Note: See TracChangeset
for help on using the changeset viewer.