Changeset 2796
- Timestamp:
- 03/02/2010 12:16:29 PM (17 years ago)
- Location:
- branches/1.2
- Files:
-
- 2 edited
-
bp-activity.php (modified) (2 diffs)
-
bp-activity/bp-activity-classes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-activity.php
r2795 r2796 775 775 'secondary_item_id' => false, 776 776 'action' => false, 777 'content' => false 777 'content' => false, 778 'date_recorded' => false, 778 779 ); 779 780 … … 781 782 extract( $r, EXTR_SKIP ); 782 783 783 return apply_filters( 'bp_activity_get_activity_id', BP_Activity_Activity::get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content ) );784 return apply_filters( 'bp_activity_get_activity_id', BP_Activity_Activity::get_id( $user_id, $component, $type, $item_id, $secondary_item_id, $action, $content, $date_recorded ) ); 784 785 } 785 786 -
branches/1.2/bp-activity/bp-activity-classes.php
r2692 r2796 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)