Closed dingo-d closed 7 years ago
Please send this in as a pull request to WPCS upstream. This is the wrong repo for this PR.
The original PR is made there as well, I just thought that it would be good to pull it here as well, or do you guys automatically get all their PR's as well?
We do and merge them periodically.
Cool, didn't know about that :)
Just in case you don't know: the intention of this fork is just as a temporary development location for the theme review sniffs. At some point, it will be merged into WPCS and this fork will be removed.
Added
sanitize_hex_color
andsanitize_hex_color_no_hash
to the list of sanitizing functions.This was proposed here: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/780