[buddypress-trac] [BuddyPress Trac] #6242: Possible conflict with BuddyPress member type user cache and the WordPress term cache
buddypress-trac
noreply at wordpress.org
Mon Feb 23 01:39:53 UTC 2015
#6242: Possible conflict with BuddyPress member type user cache and the WordPress
term cache
--------------------------+---------------------------
Reporter: imath | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.2.2
Component: API - Cache | Version: 2.2
Severity: normal | Resolution: fixed
Keywords: 2nd-opinion |
--------------------------+---------------------------
Comment (by boonebgorges):
In [changeset:"9534"]:
{{{
#!CommitTicketReference repository="" revision="9534"
Use 'bp_member_member_type' as the member type cache bucket name.
Using 'bp_member_type' was creating the potential for collisions between
WP's
taxonomy cache (which uses the taxonomy name 'bp_member_type' and term IDs
as
cache keys) and BP's per-member member type cache (which uses the bucket
'bp_member_type' and user IDs as cache keys). The collisions take place
only
when there is a 'bp_member_type' term ID that overlaps with a user ID.
The new cache group 'bp_member_member_type' is chosen to underscore that
what's
being cached is the relationship between individual members and the user
types
to which they belong.
Props imath, johnjamesjacoby.
Fixes #6242.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6242#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list