[buddypress-trac] [BuddyPress Trac] #7521: xProfile fields meta data is not deleted when field is deleted

buddypress-trac noreply at wordpress.org
Sun May 14 13:40:51 UTC 2017


#7521: xProfile fields meta data is not deleted when field is deleted
------------------------------+-----------------------------
 Reporter:  slaFFik           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Extended Profile  |    Version:  1.1
 Severity:  normal            |   Keywords:
------------------------------+-----------------------------
 Example:
 1) create a custom field (no matter in which fields group, even default
 one)
 2) set its custom visibility, force visibility, required metas
 3) check DB - records in `wp_bp_xprofile_meta` table are created for this
 new field
 4) delete this field using standard BP functionality (on this page `/wp-
 admin/users.php?page=bp-profile-setup` click '''Delete''' for this new
 field)
 5) check DB - field is deleted, metas - are not.

 Same behavior when using directly built-in functions and methods, like
 `BP_XProfile_Field::delete()` etc.

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


More information about the buddypress-trac mailing list