I have a plug-in that embeds some javascript. I've tried using remove_filter() to stop wpautop in every way recommend and still can't get wordpress to stop wrapping my <script></script>
tags with with <p>
tags like this <p><script></script></p>
I tried adding the following to both the short code php and also in the functions.php
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );