- Affected version
- 2.0.12
When setting a default value, the
This allows invalid values to be set, as the
Also, it would be nice if
option_value
type checking is not done on default_value
This allows invalid values to be set, as the
option_value
is populated directly by default_value
when the option is insert on a new install.Also, it would be nice if
verifyOptionValue
was more rigorous on what is a truthy value. While it is saved as 1/0, it accepts any truthy value which can lead to unexpected cases where a string/array default is cast silently to a boolean.
Last edited: