[wp-trac] [WordPress Trac] #19550: Please provide option to disable wptexturize entirely
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 26 22:37: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 toscho):
Good point.
What if we extend just the function?
{{{
function wptexturize($text) {
$do_texturize = apply_filters( 'do_texturize', TRUE, $text );
if ( ! $do_texturize )
return $text;
global $wp_cockneyreplace;
}}}
Then you could disable wptexturize() case by case. More context for the
filter would be better, of course …
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19550#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list