Changeset 12768 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 10/26/2020 02:11:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r12697 r12768 255 255 // Instantiate a new field object. 256 256 if ( ! empty( $r['field_id'] ) ) { 257 $field = xprofile_get_field( $r['field_id'] );257 $field = xprofile_get_field( $r['field_id'], null, false ); 258 258 } else { 259 259 $field = new BP_XProfile_Field; … … 526 526 527 527 // Use the user's stored level, unless custom visibility is disabled. 528 $field = xprofile_get_field( $field_id );528 $field = xprofile_get_field( $field_id, null, false ); 529 529 if ( isset( $field->allow_custom_visibility ) && 'disabled' === $field->allow_custom_visibility ) { 530 530 $current_level = $field->default_visibility; … … 1100 1100 } 1101 1101 1102 $field = xprofile_get_field( $field_id );1102 $field = xprofile_get_field( $field_id, null, false ); 1103 1103 1104 1104 $enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.