[theme-reviewers] Escaping JS

Ola Łączek ola at bodera.com
Thu Dec 5 17:10:03 UTC 2013


Hello!

I'm reviewing a theme that has a field in customizer to input block of Java
Script code to be outputted in the header. I'm wondering what would be the
proper way of escaping that code on output, since esc_js() function doesn't
cover it?

Best regards,
Ola Laczek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131205/d06ef766/attachment.html>


More information about the theme-reviewers mailing list