Changeset 5506
- Timestamp:
- 12/11/2011 05:18:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-functions.php
r5505 r5506 525 525 // Check cache 526 526 if ( !$metas = wp_cache_get( 'bp_activity_meta_' . $activity_id . '_' . $meta_key, 'bp' ) ) { 527 var_dump( 'miss' );528 529 527 // No cache so hit the DB 530 528 $metas = $wpdb->get_col( $wpdb->prepare("SELECT meta_value FROM {$bp->activity->table_name_meta} WHERE activity_id = %d AND meta_key = %s", $activity_id, $meta_key ) );
Note: See TracChangeset
for help on using the changeset viewer.