[theme-reviewers] Adding warnings to Theme-Check for remove_filter on wpautop and wptexturize

Justin Tadlock justin at justintadlock.com
Thu Sep 6 00:47:52 UTC 2012


I can't really think of a reason a theme should be doing either of those 
things at all.  There might be some legitimate uses (from a theme 
perspective) but none come to mind at the moment.

On 9/5/2012 7:27 PM, Japheth Thomson wrote:
> Hello,
>
> There's been some discussion today on Twitter, and a blog post I wrote 
> ( http://japh.co/NSXyTr ), about themes that run code like:
>
>     remove_filter( 'the_content', 'wpautop' );
>
>     remove_filter( 'the_content', 'wptexturize' );
>
>
> And also implementing a [raw][/raw] shortcode like 
> http://wordpress.org/support/topic/plugin-remove-wpautop-wptexturize-with-a-shortcode
>
> Could we add checks for these things into Theme-Check? And would it be 
> sensible to do so?
>
> Cheers,
> Japh
>
> -- 
> Japh Thomson
> WordPress Evangelist
> japh at envato.com <mailto:japh at envato.com>
> http://envato.com
> http://twitter.com/envato
>
>
>
>
> _______________________________________________
> 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/20120905/09973bc7/attachment.htm>


More information about the theme-reviewers mailing list