[buddypress-trac] [BuddyPress Trac] #8388: BP_XProfile_ProfileData::delete_data_for_user() doesn't clear cache

buddypress-trac noreply at wordpress.org
Wed Nov 4 04:47:06 UTC 2020


#8388: BP_XProfile_ProfileData::delete_data_for_user() doesn't clear cache
------------------------------+-----------------------------
 Reporter:  dd32              |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Extended Profile  |    Version:
 Severity:  normal            |   Keywords:  has-patch
------------------------------+-----------------------------
 When calling `BP_XProfile_ProfileData::delete_data_for_user()` via
 `xprofile_remove_data()` the data is removed from the database, but the
 data isn't removed from the object cache.

 This results in the delete being successful, but the UI continuing to
 display the data.

 Attached patch is a very rough attempt at adding.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8388>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list