<div dir="ltr">Since it's in a Plugin, and not a Theme, it's really outside our scope. But IMX, Themes/Plugins that have had to remove the wpautop and/or wptexturize filters from the_content() because of a shortcode are usually _doing_it_wrong() in some way or another. Either the shortcode is being parsed too early/late, or the filter gets removed but not re-applied, etc.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 21, 2013 at 3:53 AM, Harish <span dir="ltr"><<a href="mailto:me@harishchouhan.com" target="_blank">me@harishchouhan.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-IN" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I am creating a plugin to add features such as shortcodes, meta boxes. <a href="http://etc.to" target="_blank">etc.to</a> my theme. I noticed premium themes use below:<u></u><u></u></p>
<p class="MsoNormal"> remove_filter( 'the_content', 'wpautop' );<u></u><u></u></p><p class="MsoNormal"> remove_filter( 'the_content', 'wptexturize' );<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">Is this a good practise? And are there any drawbacks removing the texturize filter?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="color:#404040"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:150%"><span style="color:#404040">Regards,<u></u><u></u></span></p><p class="MsoNormal" style="line-height:150%"><span style="color:#404040">Harish</span><span style="font-size:10.0pt;line-height:150%;color:#0d0d0d"> <b><u></u><u></u></b></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>