[buddypress-trac] [BuddyPress Trac] #9130: BP_XProfile_Field Update Sets parent_id to 0
buddypress-trac
noreply at wordpress.org
Fri Apr 12 13:12:12 UTC 2024
#9130: BP_XProfile_Field Update Sets parent_id to 0
--------------------------------------+--------------------------
Reporter: munklefish | Owner: espellcaste
Type: defect (bug) | Status: closed
Priority: highest | Milestone: 14.0.0
Component: Extended Profile | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests |
--------------------------------------+--------------------------
Changes (by espellcaste):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"13792" 13792]:
{{{
#!CommitTicketReference repository="" revision="13792"
A `BP_XProfile_Field` update does not disassociate from its XProfile
parent field.
This patch makes sure that when updating an existing XProfile field option
using the `save()` method from the `BP_XProfile_Field` class,
the updated option has not the `parent_id` set to `0`, thus becoming
disassociated from its XProfile parent field.
Closes https://github.com/buddypress/buddypress/pull/267
Fixes #9130
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9130#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list