diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
index 7267ad9..a4a2167 100644
|
a
|
b
|
class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type {
|
| 28 | 28 | $this->category = _x( 'Multi Fields', 'xprofile field type category', 'buddypress' ); |
| 29 | 29 | $this->name = _x( 'Checkboxes', 'xprofile field type', 'buddypress' ); |
| 30 | 30 | |
| | 31 | $this->supports_multiple_values = true; |
| 31 | 32 | $this->supports_multiple_defaults = true; |
| 32 | 33 | $this->accepts_null_value = true; |
| 33 | 34 | $this->supports_options = true; |
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
index 5ecaa10..af92d00 100644
|
a
|
b
|
class BP_XProfile_Field_Type_Multiselectbox extends BP_XProfile_Field_Type {
|
| 28 | 28 | $this->category = _x( 'Multi Fields', 'xprofile field type category', 'buddypress' ); |
| 29 | 29 | $this->name = _x( 'Multi Select Box', 'xprofile field type', 'buddypress' ); |
| 30 | 30 | |
| | 31 | $this->supports_multiple_values = true; |
| 31 | 32 | $this->supports_multiple_defaults = true; |
| 32 | 33 | $this->accepts_null_value = true; |
| 33 | 34 | $this->supports_options = true; |
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
index f282a82..75035dd 100644
|
a
|
b
|
abstract class BP_XProfile_Field_Type {
|
| 66 | 66 | public $supports_options = false; |
| 67 | 67 | |
| 68 | 68 | /** |
| | 69 | * If allowed to store multiple values. |
| | 70 | * |
| | 71 | * @since 2.9.0 |
| | 72 | * @var bool Does this field support multiple values? e.g. multiselectbox, checkbox. |
| | 73 | */ |
| | 74 | public $supports_multiple_values = false; |
| | 75 | |
| | 76 | /** |
| 69 | 77 | * If allowed to support multiple options as default. |
| 70 | 78 | * |
| 71 | 79 | * @since 2.0.0 |