Skip to:

Opened 8 years ago

Closed 8 years ago

#6988 closed enhancement (no action required)

xprofile field delete does not delete field meta

Reported by: shanebp's profile shanebp Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords:
Cc: shane@…


It seems that when you delete an instance of an xprofile field, associated data in the bp_xprofile_meta table is not deleted.

There is this function bp_xprofile_delete_meta in bp-xprofile-functions.php. But it isn't called when a field instance is deleted, afaik.
And it only takes a single object_type - but there may be meta data of more than one object_type.

So I think another function is needed. And a call to that function.

Change History (2)

#1 @dontdream
8 years ago

Related to #6658

#2 @DJPaul
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Yep, let's use the existing ticket to track this issue. Thanks for reporting the bug @dontdream!

Note: See TracTickets for help on using tickets.