[buddypress-trac] [BuddyPress Trac] #9035: [BP 12] On the profile "add new field" screen, the default field type "checkbox" is not initially showing the subsequent options

buddypress-trac noreply at wordpress.org
Tue Dec 12 20:42:53 UTC 2023


#9035: [BP 12] On the profile "add new field" screen, the default field type
"checkbox" is not initially showing the subsequent options
--------------------------+---------------------
 Reporter:  strategio     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.1.0
Component:  Core          |     Version:  12.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/200 PR #200] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 In [https://buddypress.trac.wordpress.org/changeset/13414/ r13414] the
 `BP_XProfile_Field::$type` variable default value was set to `''` to
 prevent deprecation notices. This move generated a side effect on the
 selected default field of the select box used to define a new xProfile
 field type. The `is_null()` check performed inside
 `bp_xprofile_admin_form_field_types()` needs to be replaced by a check for
 an empty string.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9035

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


More information about the buddypress-trac mailing list