Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/08/2010 04:20:25 PM (16 years ago)
Author:
apeatling
Message:

Merge 1.2 branch with trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r2692 r2822  
    199199        }
    200200
    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 ) {
    202202                global $bp, $wpdb;
    203203
     
    224224                if ( !empty( $content ) )
    225225                        $where_args[] = $wpdb->prepare( "content = %s", $content );
     226
     227                if ( !empty( $date_recorded ) )
     228                        $where_args[] = $wpdb->prepare( "date_recorded = %s", $date_recorded );
    226229
    227230                if ( !empty( $where_args ) )
Note: See TracChangeset for help on using the changeset viewer.