Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/09/2014 01:29:28 AM (6 years ago)
Author:
boonebgorges
Message:

Activity prefetch data callbacks must return the $activities array to the filter

The failure to do so was causing prefetching to fail in plugins

File:
1 edited

Legend:

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

    r8190 r8259  
    240240        bp_blogs_update_meta_cache( $blog_ids );
    241241    }
     242
     243    return $activities;
    242244}
    243245add_filter( 'bp_activity_prefetch_object_data', 'bp_blogs_prefetch_activity_object_data' );
Note: See TracChangeset for help on using the changeset viewer.