Changeset 2822 for trunk/bp-activity/bp-activity-classes.php
- Timestamp:
- 03/08/2010 04:20:25 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-classes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r2692 r2822 199 199 } 200 200 201 function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content ) {201 function get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) { 202 202 global $bp, $wpdb; 203 203 … … 224 224 if ( !empty( $content ) ) 225 225 $where_args[] = $wpdb->prepare( "content = %s", $content ); 226 227 if ( !empty( $date_recorded ) ) 228 $where_args[] = $wpdb->prepare( "date_recorded = %s", $date_recorded ); 226 229 227 230 if ( !empty( $where_args ) )
Note: See TracChangeset
for help on using the changeset viewer.