Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDPR settings - accept links inside textareas #188

Closed
georgejipa opened this issue Jul 19, 2018 · 1 comment
Closed

GDPR settings - accept links inside textareas #188

georgejipa opened this issue Jul 19, 2018 · 1 comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product.

Comments

@georgejipa
Copy link
Contributor

georgejipa commented Jul 19, 2018

Right now, the plugin is using sanitize_text_field function to sanitize contact_form_tail and subscribe_form_tail textareas.

I think wp_kses function is the right choice if you want to keep the HTML tags: https://codex.wordpress.org/Function_Reference/wp_kses

WP.org ticket: https://wordpress.org/support/topic/contact-and-subscribe-forms-not-accepting-links/
Another suggestion related to this module: https://wordpress.org/support/topic/privacy-policy-page-link-open-in-new-window/

@georgejipa georgejipa added bug This label could be used to identify issues that are caused by a defect in the product. suggestion labels Aug 30, 2018
@georgejipa
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product.
Projects
None yet
Development

No branches or pull requests

1 participant