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

Sanitizing the field key may cause unwanted behavior #22

Open
villesiltala opened this issue Feb 7, 2018 · 0 comments
Open

Sanitizing the field key may cause unwanted behavior #22

villesiltala opened this issue Feb 7, 2018 · 0 comments
Assignees

Comments

@villesiltala
Copy link

The inner_set_key() method is used for all keys set through the Field constructor. It sanitizes keys with the WP sanitize_title() function. This is necessary when the key is created out of a label text, but it might not be wanted if the user sets the key explicitly.

Could the sanitizing be done only if the key is created out of a label text?

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

2 participants