Ticket #8455: 8455.patch
| File 8455.patch, 1.0 KB (added by , 5 years ago) |
|---|
-
src/bp-xprofile/classes/class-bp-xprofile-profiledata.php
357 357 $cache_key = "{$user_id}:{$field_id}"; 358 358 359 359 // If a value was found, cache it. 360 if ( isset( $queried_data[ $field_id ] ) ) {360 if ( isset( $queried_data[ $field_id ] ) && ! isset( $field_type_objects[ $field_id ]->wp_user_key ) ) { 361 361 wp_cache_set( $cache_key, $queried_data[ $field_id ], 'bp_xprofile_data' ); 362 362 363 363 // If no value was found, cache an empty item … … 373 373 $d->table_name = $meta['table_name']; 374 374 375 375 } else { 376 $d->id = ''; 377 $d->value = ''; 376 $d->id = ''; 377 $d->value = ''; 378 $d->table_name = ''; 378 379 } 379 380 380 $d->table_name = '';381 381 $d->user_id = $user_id; 382 382 $d->field_id = $field_id; 383 383 $d->last_updated = '';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)