Skip to content

use esc_attr instead of sanitize_text_field#20

Merged
jazzsequence merged 8 commits intomainfrom
remove-sanitize-text-fields
May 17, 2023
Merged

use esc_attr instead of sanitize_text_field#20
jazzsequence merged 8 commits intomainfrom
remove-sanitize-text-fields

Conversation

@jazzsequence
Copy link
Owner

@jazzsequence jazzsequence commented May 17, 2023

This PR also adds some additional sanitization functions so the output is somewhat nicer, as well as a function that returns an array of valid CSS text colors (which is used by the color sanitization function).

@jazzsequence jazzsequence merged commit 2b349dc into main May 17, 2023
@jazzsequence jazzsequence deleted the remove-sanitize-text-fields branch May 17, 2023 15:36
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

Successfully merging this pull request may close these issues.

1 participant