Skip to:
Content

BuddyPress.org

Changeset 13669


Ignore:
Timestamp:
12/13/2023 07:30:42 PM (14 months ago)
Author:
imath
Message:

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

Fixes #9035 (branch 12.0)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.