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

Plugin arbitrarily run wp_kses() on acf/update_value #7

Open
acf-extended opened this issue Jul 21, 2020 · 0 comments
Open

Plugin arbitrarily run wp_kses() on acf/update_value #7

acf-extended opened this issue Jul 21, 2020 · 0 comments

Comments

@acf-extended
Copy link

Hello,

I found a problem in your plugin which runs wp_kses() on all fields using acf/update_value in the file acf-form-shortcode-master\includes\class-acf-form-shortcode.php:170.

The acf/update_value hook without selector is a wildcard hook which is applied to all ACF fields. The problem with wp_kses() is that it deny the usage of HTML markup in any field, even the one that are not related to the plugin.

This leads to problems with fields that are meant to receive actual HTML code.

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant