Skip to:

Opened 14 years ago

Closed 14 years ago

#2379 closed defect (bug) (no action required)

When Update profile cache is not deleted

Reported by: yannux's profile yannux Owned by:
Milestone: 1.5 Priority: major
Severity: Version:
Component: Extended Profile Keywords:


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' );

Change History (1)

#1 @boonebgorges
14 years ago

  • Resolution set to invalid
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.