[buddypress-trac] [BuddyPress] #2379: When Update profile cache is not deleted

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Tue May 11 14:41:03 UTC 2010


#2379: When Update profile cache is not deleted
----------------------+-----------------------------------------------------
 Reporter:  yannux    |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:  1.3
Component:  XProfile  |    Keywords:     
----------------------+-----------------------------------------------------
 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' );
 }
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2379>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list