[buddypress-trac] [BuddyPress Trac] #6988: xprofile field delete does not delete field meta

buddypress-trac noreply at wordpress.org
Wed Mar 30 23:16:25 UTC 2016


#6988: xprofile field delete does not delete field meta
----------------------------------+-----------------------------
 Reporter:  shanebp               |      Owner:
     Type:  enhancement           |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - XProfile  |    Version:
 Severity:  normal                |   Keywords:
----------------------------------+-----------------------------
 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.

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


More information about the buddypress-trac mailing list