Opened 7 months ago
Closed 7 months ago
#9130 closed defect (bug) (fixed)
BP_XProfile_Field Update Sets parent_id to 0
Reported by: | munklefish | Owned by: | espellcaste |
---|---|---|---|
Milestone: | 14.0.0 | Priority: | highest |
Severity: | normal | Version: | |
Component: | Extended Profile | Keywords: | has-patch has-unit-tests |
Cc: |
Description
Hi,
When updating an existing xprofile field option using
new BP_XProfile_Field
the updated option has it's parent_id set to 0 and thus becomes disassociated from its XProfile parent field.
Looking at the code for BP_XProfile_Field it appears on line 453 that the parent_id is hardcoded to 0 and ignores the data sent to the function.
Change History (3)
This ticket was mentioned in PR #267 on buddypress/buddypress by renatonascalves.
7 months ago
#1
- Keywords has-patch has-unit-tests added
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9130