[theme-reviewers] Bug with Theme Check

Alex Vasquez alexjvas at gmail.com
Sun Oct 26 23:44:32 UTC 2014


Hey folks.
Found an issue with the theme check plugin.

Seems there's an issue on line 21 of 'theme-check/checks/customizer.php'.

The issue that occurs is if your default value has a semi-colon, the
sanitize_callback function, which uses regex pattern matching, will stop
matching when it encounters the semi-colon in the default value. A work
around for this is to put the  order of the sanitize_callback before the
default value.

Big ups to Konstantin Kovshenin for finding the bug and workaround.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20141026/1f564b2d/attachment.html>


More information about the theme-reviewers mailing list