[buddypress-trac] [BuddyPress] #3814: Collect activity meta at the beginning of an activity loop, using new cache functions

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Dec 8 03:02:24 UTC 2011


#3814: Collect activity meta at the beginning of an activity loop, using new cache
functions
--------------------------+-----------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Activity      |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 See #3799

 Apply to the activity component.

 This is going to be tricky, because of the way the activity component
 currently constructs its activity meta cache keys. They are of the format
     'bp_activity_meta_' . $meta_key . '_' . $activity_id
 rather than
     'bp_activity_meta_' . $activity_id . '_' . $meta_key

 The latter method is how bp_update_meta_cache() expects the keys to be
 constructed, and is the way that it's done in other components. That will
 mean doing some backpat work, probably just checking the legacy cache key
 in bp_activity_get_meta().

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3814>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list