[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:06 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   |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9533"]:
 {{{
 #!CommitTicketReference repository="" revision="9533"
 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:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list