Skip to content

Conversation

@dd32
Copy link
Member

@dd32 dd32 commented Feb 24, 2022

When a post contains a URL that's oEmbed'ed, on archive pages wp_kses_post() will strip out any <script>/<iframe>'s that the oEmbed specified.

This is caused by the o2_Fragment::o2_make_clickable().

I'm not understanding why this function is a thing, and removing it seems to not cause ill effects.

I've worked around the cause for now, so just filing this for my own/others reference running into the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants