[buddypress-trac] [BuddyPress] #2209: xprofile_insert_field() does not accept 'type' => 'option'

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Jul 30 12:33:29 UTC 2011


#2209: xprofile_insert_field() does not accept 'type' => 'option'
----------------------+----------------------
 Reporter:  jollari   |       Owner:
     Type:  defect    |      Status:  closed
 Priority:  minor     |   Milestone:
Component:  XProfile  |     Version:
 Severity:  normal    |  Resolution:  invalid
 Keywords:            |
----------------------+----------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => invalid
 * severity:   => normal


Comment:

 Not sure that this is still an issue. The code looks ok to me, and we use
 it internally to create selectboxes and their options.

 If you are requesting that you be able to add options to an *existing*
 selectbox field, then I suggest you instantiate the BP_XProfile_Field
 object, and mod the $options. This is also what we do internally.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/2209#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list