Opened 15 years ago
Closed 14 years ago
#2379 closed defect (bug) (no action required)
When Update profile cache is not deleted
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | major |
Severity: | Version: | ||
Component: | Extended Profile | Keywords: | |
Cc: |
Description
buddypress/bp-xprofile.php
Line 917 in trunk
Line 1147 in v 1.1.3
wp_cache_delete( 'xprofile_fields_' . $group_id . '_' . $bp->loggedin_user->id, 'bp' );
Seems that $group_id is an array, need to make foreach like that :
foreach($group_id as $id) { wp_cache_delete( 'xprofile_fields_' . $id . '_' . $bp->loggedin_user->id, 'bp' ); }
Note: See
TracTickets for help on using
tickets.
These lines no longer exist in the trunk. It looks like profile group caching and individual user profile caching is done in bigger chunks now, instead of on a per-group-per-user basis. So this shouldn't be an issue.
Please reopen the ticket if I'm interpreting it incorrectly.