[buddypress-trac] [BuddyPress Trac] #7155: More numeric strings in class `BP_XProfile_Field`.

buddypress-trac noreply at wordpress.org
Mon Jul 18 05:45:14 UTC 2016

#7155: More numeric strings in class `BP_XProfile_Field`.
 Reporter:  DJPaul            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  2.7
Component:  Extended Profile  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
Changes (by DJPaul):

 * keywords:   => has-patch


 Patch attached, but not complete yet. There will be problems for existing
 sites with object cache, when combined with existing strict type-checking
 elsewhere, xprofile group queries will return nothing (for some reason;
 didn't fully track it down).

 We need to clear all keys like `wp_cache_delete( <all group IDs`,
 'bp_xprofile_groups' );` on 2.7 update.

 If? I ever sit down and figure out what exactly we're storing in what
 cache groups across BuddyPress, I'd seriously look into providing some
 hardcoded prefix before the object key, so we can "invalidate" them

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

More information about the buddypress-trac mailing list