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

buddypress-trac noreply at wordpress.org
Mon Nov 9 19:36:27 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:  6.4.0
Component:  Extended Profile  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+---------------------
Changes (by dcavins):

 * Attachment "8388.02-w-test.diff" added.

 This patch goes a step further and avoids using the bulk delete statement,
 instead using `xprofile_delete_field_data()` so that the before and after
 actions are called.

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


More information about the buddypress-trac mailing list