[buddypress-trac] [BuddyPress] #1026: Inconsistence between param name in xprofile_insert_field() and BP_XProfile_Field attribute

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Sep 17 11:09:22 UTC 2009


#1026: Inconsistence between param name in xprofile_insert_field() and
BP_XProfile_Field attribute
--------------------------+-------------------------------------------------
Reporter:  luka.bernardi  |       Owner:     
    Type:  defect         |      Status:  new
Priority:  major          |   Milestone:     
Keywords:                 |  
--------------------------+-------------------------------------------------
 xprofile_insert_field() expect an assoc array, one of this key is
 field_group_id and is mapped in BP_XProfile_Field with

 {{{
 $field->field_group_id = $field_group_id;
 }}}

 but field_group_id isn't an BP_XProfile_Field's attribute nor a column in
 wp-bp-xprofile-field table.
 Instead of field_group_id use group_id

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1026>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list