Fixed terms agreement links on checkbox
-
I fixed a small bug when creating a checkbox with html links (for eg. “terms agreement”).
Just addstrip_tags()
to the value of the checkbox.
The script/ultimate-member/core/um-fields.php
at line 1688 should look like this:
$output .= '<input type="checkbox" name="'.$key.'[]" value="'.
strip_tags($v
).'" ';
All works fine, but I shall to re-edit this script on each plugin update…
Please, can you add this correction?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fixed terms agreement links on checkbox’ is closed to new replies.