Checkboxes not properly saved for HTML block (wpDiscuz v7.4.2)
-
I updated to wpDiscuz v7.4.2 yesterday and probably found an issue with the “HTML Field” field type for the comment form.
The settings one assigns for “show for guests” and “show for users” are not properly saved with the form. Both checkboxes are checked (set to 1) again after saving, regardless if they were un-checked before saving.
It seems that these two checboxes (they are not yet available for a long time) are not handled in the “sanitizeFieldData” function in “HTMLField.php”.
Please check/fix if applicable.
Thank you,
Mike
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Checkboxes not properly saved for HTML block (wpDiscuz v7.4.2)’ is closed to new replies.