Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

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

When Update profile cache is not deleted

Reported by: yannux Owned by:
Priority: major Milestone: 1.5
Component: Extended Profile Version:
Severity: 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' );
}

Change History (1)

#1 @boonebgorges
16 years ago

  • Resolution → invalid
  • Status new → 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.