[buddypress-trac] [BuddyPress Trac] #7245: Updating user last_activity doesn't bust activity query cache

buddypress-trac noreply at wordpress.org
Mon Sep 5 12:10:09 UTC 2016


#7245: Updating user last_activity doesn't bust activity query cache
------------------------------------+------------------
 Reporter:  boonebgorges            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.7
Component:  Members                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by DJPaul):

 Okay, for the record, the initial implementation: #5128

 > User last_activity data is stored in the activity table, but the
 activity API (bp_activity_add()) is not used to add the data there. I
 don't recall the exact reasoning; I think it's because we didn't want to
 trigger activity-related filters for 'last_activity' bumping, out of
 backward-compatibilty concerns.

 Not quite. We set this in `bp_core_user->update_last_activity()` which is
 inside the Core component, so it can't rely on the Activity component
 always being active.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7245#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list