Checkbox not displaying – suggested fix
-
Hello,
I’m a theme developer here on www.ads-software.com and had a user approach me about the checkbox in WP GDPR not displaying with one of my themes (Chosen).
The checkbox does not display because Chosen edits the comment form using the
comment_form_field_comment
filter. The filter uses the standard priority (10) which is a common practice when modifying the comment form with a theme. However, WP GDPR uses a priority of 1 on this same filter to add the checkbox which causes it to be overridden.I’d like to propose updating the hook priority to a value >10 on L36 of controller/controller-comments.php. This will ensure the checkbox is added even if themes edit the comment form as well.
- The topic ‘Checkbox not displaying – suggested fix’ is closed to new replies.