[buddypress-trac] [BuddyPress Trac] #9130: BP_XProfile_Field Update Sets parent_id to 0

buddypress-trac noreply at wordpress.org
Tue Apr 9 10:41:02 UTC 2024


#9130: BP_XProfile_Field Update Sets parent_id to 0
--------------------------+-----------------------------
 Reporter:  munklefish    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  highest       |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 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.

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


More information about the buddypress-trac mailing list