- Timestamp:
- 05/19/2016 02:51:45 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r10740 r10778 238 238 $field = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->profile->table_name_fields} WHERE id = %d", $field_id ) ); 239 239 240 wp_cache_add( $field->id, $field, 'bp_xprofile_fields' );241 242 240 if ( ! $field ) { 243 241 return false; 244 242 } 243 244 wp_cache_add( $field->id, $field, 'bp_xprofile_fields' ); 245 245 } 246 246
Note: See TracChangeset
for help on using the changeset viewer.