[theme-reviewers] Fwd: Escaping JS
Ola Łączek
ola at bodera.com
Sat Dec 7 10:05:54 UTC 2013
Hello!
Could somebody help me with that? Or point me in the right direction?
Thanks in advance!
---------- Forwarded message ----------
From: Ola Łączek <ola at bodera.com>
Date: Thu, Dec 5, 2013 at 6:10 PM
Subject: Escaping JS
To: theme-reviewers at lists.wordpress.org
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/20131207/5502f7be/attachment.html>
More information about the theme-reviewers
mailing list