Opened 2 years ago
Closed 2 years ago
#9130 closed defect (bug) (fixed)
BP_XProfile_Field Update Sets parent_id to 0
| Reported by: | munklefish | Owned by: | espellcaste |
|---|---|---|---|
| Priority: | highest | Milestone: | 14.0.0 |
| Component: | Extended Profile | Version: | |
| Severity: | normal | 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.
2 years ago
#1
- Keywords has-patch has-unit-tests added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9130