[buddypress-trac] [BuddyPress Trac] #5979: `bp_core_userdata_` cache is unnecessary

buddypress-trac noreply at wordpress.org
Tue Nov 18 15:04:12 UTC 2014

#5979: `bp_core_userdata_` cache is unnecessary
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  high             |   Milestone:  2.2
Component:  Members          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |

Comment (by boonebgorges):

 Replying to [comment:13 r-a-y]:
 > Not sure what the status of this ticket is, but I ran into another
 `'bp_core_userdata_'` cache invalidation issue when marking a user as a
 > I've attached a patch.

 Hm. [5979-tests.patch] shows that your fix is not necessary. And it's
 because on 'bp_make_spam_user' and 'bp_make_ham_user', we call
 `bp_core_remove_data()`, which flushes the entire cache!! Um, we probably
 should not do this.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5979#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list