[buddypress-trac] [BuddyPress Trac] #7245: Updating user last_activity doesn't bust activity query cache
buddypress-trac
noreply at wordpress.org
Sat Sep 3 15:22:58 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 | Keywords:
--------------------------+-----------------
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.
Because of this, bumping a user's `last_activity` doesn't bust activity
query caches, and queries that include `last_activity` can be incorrect.
Previously: #7237
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7245>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list