• Resolved pid1984

    (@pid1984)


    Hey there;

    We’ve got an interesting issue that’s showed up since a client started using this plugin on their site. When they add <script> tags within an html block in a revision, then publish the revision at a scheduled point, the <script> tags disappear.

    We’re trying to track down the source of the issue, and we were wondering if you’d heard of this happening before with your plugin.

    Thanks so much for your help!
    Allen

Viewing 1 replies (of 1 total)
  • Plugin Author themastercut

    (@themastercut)

    Hi!
    It seems like it’s connected to filtering posts content by WordPress wp_kses function.
    In short: any external modifications of posts are filtered and only accepted tags stay untouched.

    I belive it is by design. You should not leave any scripts in content and use shortcodes instead ??

    https://tommcfarlin.com/what-is-wordpress-kses/`

    • This reply was modified 1 year, 11 months ago by themastercut.
Viewing 1 replies (of 1 total)
  • The topic ‘Scripts in HTML blocks disappearing’ is closed to new replies.