[theme-reviewers] WP customizer sanitize question

Emil Uzelac emil at uzelac.me
Fri Jun 20 18:42:57 UTC 2014


I think that this should be done from where the logo is located i.e.
header.php and via esc_url.
Doesn't need to be in the customizer itself.


esc_url( get_theme_mod( 'logotype' ) )


On Fri, Jun 20, 2014 at 1:04 PM, Thomas Usborne <hello at edge22.com> wrote:

> I'm interested in this as well.
>
>
>
> I believe 'logo' in that example is the name of the setting.
>
>
>
> Tom
>
>
>
> *From:* theme-reviewers [mailto:
> theme-reviewers-bounces at lists.wordpress.org] *On Behalf Of *Srikanth
> Koneru
> *Sent:* Friday, June 20, 2014 11:02 AM
> *To:* Discussion list for WordPress theme reviewers.
> *Subject:* Re: [theme-reviewers] WP customizer sanitize question
>
>
>
> Thanks Emil, so esc_url_raw appropriate?
>
> Also what is 'logo' in that example?
>
>
>
> On Fri, Jun 20, 2014 at 11:26 PM, Emil Uzelac <emil at uzelac.me> wrote:
>
> As far as I know, logo needs to be sanitized as well.
>
>
>
> On Fri, Jun 20, 2014 at 12:47 PM, Srikanth Koneru <tskk79 at gmail.com>
> wrote:
>
> Does Image control (
> http://codex.wordpress.org/Class_Reference/WP_Customize_Image_Control)
> need sanitization?
>
> If so is esc_url_raw appropriate?
>
> Also what is 'logo' in that example?
>
> Thanks.
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140620/4bab0f6c/attachment.html>


More information about the theme-reviewers mailing list