snapping turtle

KSES and Voice Thread’s Embed Code

Voice Thread’s embed code should like what you see below. For non-super admins who have iframe embed rights we were getting this instead (once the post had updated and been cleansed by our friend kses). It still mostly worked but we needed to tweak things to let in those additional variables (allowusermedia allowfullscreen allow). You can see pieces we needed to add to the iframe array in the comments below.


KSES Allow Twitter Widget Embed

The two little lines above keep the Twitter tag search widget embed code (below) from getting cleansed in the WordPress Editor. Keeping a chunk of these extra-curricular allowed elements in a plugin allows us to activate them on a per trusted user basis.