Opened 10 years ago
Closed 10 years ago
#6988 closed enhancement (no action required)
xprofile field delete does not delete field meta
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Extended Profile | Keywords: | |
| Cc: | shane@… |
Description
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)
Note: See
TracTickets for help on using
tickets.
Related to #6658