[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
Wed Dec 13 19:23:10 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 |
--------------------------+---------------------
Comment (by imath):
In [changeset:"13668" 13668]:
{{{
#!CommitTicketReference repository="" revision="13668"
xProfile Admin: use `textbox` as the default selected field type
In [13414] the `BP_XProfile_Field::$type` variable default value was set
to `''` to prevent PHP 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.
Instead of having the `textbox` field type selected by default, the
`checkbox` was used. The downside of this is: this field type, unlike the
`textbox` one, needs a meta box to define option values which was not
displayed. This meta box is only displayed using JavaScript when the
selected value of the Field type select box has changed.
Props strategio
See #9035 (trunk)
Closes https://github.com/buddypress/buddypress/pull/200
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9035#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list