Opened 10 years ago
Closed 10 years ago
#6988 closed enhancement (no action required)
xprofile field delete does not delete field meta
| Reported by: | shanebp | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Extended Profile | Version: | |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related to #6658