[theme-reviewers] removing wptexturize

Chip Bennett chip at chipbennett.net
Sun Jul 21 14:45:05 UTC 2013


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.


On Sun, Jul 21, 2013 at 3:53 AM, Harish <me at harishchouhan.com> wrote:

> Hello,****
>
> ** **
>
> I am creating a plugin to add features such as shortcodes, meta boxes.
> etc.to my theme. I noticed premium themes use below:****
>
>     remove_filter( 'the_content', 'wpautop' );****
>
>     remove_filter( 'the_content', 'wptexturize' );****
>
> ** **
>
> Is this a good practise? And are there any drawbacks removing the
> texturize filter?****
>
> ** **
>
> ** **
>
> Regards,****
>
> Harish **
>
> ** **
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130721/b175a65d/attachment.html>


More information about the theme-reviewers mailing list