[buddypress-trac] [BuddyPress Trac] #5472: xprofile_insert_field -> type - 'option' not allowed?

buddypress-trac noreply at wordpress.org
Sun Jun 15 12:51:04 UTC 2014


#5472: xprofile_insert_field -> type - 'option' not allowed?
--------------------------+---------------------------
 Reporter:  shanebp       |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.1
Component:  XProfile      |     Version:  1.9.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  dev-feedback  |
--------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8518"]:
 {{{
 #!CommitTicketReference repository="" revision="8518"
 Add 'option' to the whitelist of xprofile field types

 The 'option' field type is not full-fledged, in the sense that it has an
 associated BP_XProfile_Field_Type class; it is used only to save the
 values
 that are child options of type 'radio', 'select', 'multiselect' and other
 option-supporting field types. It is important that 'option' thus be added
 manually to the field type whitelist, so that option fields can be created
 programatically.

 Fixes #5472
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5472#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list