Changeset 13878 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 06/01/2024 04:26:18 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-xprofile/bp-xprofile-functions.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r13756 r13878 394 394 if ( is_array( $values ) ) { 395 395 $data = array(); 396 foreach ( (array) $values as $value ) {396 foreach ( (array) $values as $value ) { 397 397 398 398 /** … … 763 763 * 764 764 * @since 2.0.0 765 * 765 * 766 766 * @global wpdb $wpdb WordPress database object. 767 767 * … … 963 963 * 964 964 * @since 1.5.0 965 * 965 * 966 966 * @global wpdb $wpdb WordPress database object. 967 967 * … … 1146 1146 * 1147 1147 * @since 2.0.0 1148 * 1148 * 1149 1149 * @global wpdb $wpdb WordPress database object. 1150 1150 * … … 1359 1359 $default_visibility_levels = BP_XProfile_Group::fetch_default_visibility_levels(); 1360 1360 1361 foreach ( (array) $default_visibility_levels as $d_field_id => $defaults ) {1361 foreach ( (array) $default_visibility_levels as $d_field_id => $defaults ) { 1362 1362 // If the admin has forbidden custom visibility levels for this field, replace 1363 1363 // the user-provided setting with the default specified by the admin. … … 1368 1368 1369 1369 $field_ids = array(); 1370 foreach ( $user_visibility_levels as $field_id => $field_visibility ) {1370 foreach ( $user_visibility_levels as $field_id => $field_visibility ) { 1371 1371 if ( in_array( $field_visibility, $levels ) ) { 1372 1372 $field_ids[] = $field_id; … … 1477 1477 * 1478 1478 * @since 8.0.0 1479 * 1479 * 1480 1480 * @global wpdb $wpdb WordPress database object. 1481 1481 *
Note: See TracChangeset
for help on using the changeset viewer.