[buddypress-trac] [BuddyPress Trac] #6978: Friends: Add caching to BP_Friends_Friendship class
buddypress-trac
noreply at wordpress.org
Fri Sep 9 20:05:14 UTC 2016
#6978: Friends: Add caching to BP_Friends_Friendship class
------------------------------------+-----------------------------
Reporter: r-a-y | Owner: dcavins
Type: enhancement | Status: accepted
Priority: normal | Milestone: Future Release
Component: Friends | Version: 1.0
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+-----------------------------
Comment (by dcavins):
My maybe bug isn't a bug after all. The function is currently using the
confirmed friendships only for cache busting of the "total_friendships"
cache for friends of the user who is being removed. My earlier change will
also clear the `total_friend_count` for unconfirmed friends, which is not
strictly necessary. I'll update the `delete_all...` function to be more
conservative.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6978#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list