[wp-trac] [WordPress Trac] #19550: Please provide option to disable wptexturize entirely
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 26 22:07:57 UTC 2011
#19550: Please provide option to disable wptexturize entirely
-------------------------+------------------------------
Reporter: jwz | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.3
Severity: minor | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by jwz):
The problem isn't just direct calls to wptexturize, it's things like this
that occur in other plugins that are *also* trying to get around the
effects of wptexturize, for example, Otto's Simple Facebook Connect does:
{{{
remove_filter( 'the_content', 'wptexturize' );
$text = apply_filters('the_content', $text);
add_filter( 'the_content', 'wptexturize' );
}}}
If wptexturize was a pluggable function that I could turn into a no-op, it
wouldn't matter to me that random plugins re-add it to the_content filter
because they think I want it there.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19550#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list