• Resolved Guido

    (@guido07111975)


    Hi,

    In the Customizer > About section I include a page that has some text and a YouTube video on it.

    The YouTube video is stripped from the content at the frontend of my site.
    Guess this is happening since a recent theme update.

    I have added the video as iframe and as regular link. Both are stripped.

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Guido

    (@guido07111975)

    Hi @famethemes

    Found out it’s caused by a recent theme update, you’ve added wp_kses_post() in the About template file. Check this link. I personally don’t know how to escape this properly, without the YouTube embed / link being stripped.

    Guido

    Thread Starter Guido

    (@guido07111975)

    Hi @famethemes

    Last update (2.3.15) did not fix this unfortunately.

    Guido

    Thread Starter Guido

    (@guido07111975)

    FYI: I fixed it by adding iframe to the wp_kses_allowed_html filter, via a code snippet.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.