[buddypress-trac] [BuddyPress] #4276: Delete profile field meta when field is deleted
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jun 19 12:31:07 UTC 2012
#4276: Delete profile field meta when field is deleted
--------------------------+----------------------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Core | Version:
Severity: minor | Keywords:
--------------------------+----------------------------
From #4275:
> I think it would be better to delete the xprofile meta created for
fields if the field is deleted by the admin so in the same file in the
function xprofile_admin_delete_field, i suggest to add this line before
the do_action( 'xprofile_fields_deleted_field', $field );
{{{
bp_xprofile_delete_meta( $field_id, 'field' );
}}}
===
We do *not* appear to delete item meta after deleting items throughout BP
(groups, activity). Perhaps we should, but it needs some testing and
discussion.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4276>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list