[theme-reviewers] theme option validation
kwight at kwight.ca
Fri Apr 27 17:16:30 UTC 2012
How lenient are others towards validation with theme options? I'm doing a
review in which options are sanitized on input using
wp_filter_nohtml_kses(), but not validated for their purpose - they're
supposed to be social media URLs, but whatever the user enters is simply
echoed out, whether it's a valid URL or not. Should it be sanitized on
output with esc_url() also?..
Thanks, I'm a little out of my league with options stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the theme-reviewers