Support » Plugin: WP GDPR » Checkbox not displaying – suggested fix

  • Resolved Ben Sibley

    (@bensibley)



    Hello,

    I’m a theme developer here on wordpress.org 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.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Checkbox not displaying – suggested fix’ is closed to new replies.