[wp-trac] [WordPress Trac] #19550: Please provide option to disable wptexturize entirely

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 27 17:55:55 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 nacin):

 I'm wondering whether this is sufficient. While it will not catch *every*
 instance, it will catch all relevant core instances to dealing with
 content:

 {{{
 foreach ( array( 'the_title', 'the_content', 'the_excerpt',
                 'comment_text', 'list_cats', 'comment_author',
                 'term_name', 'link_name', 'link_description',
                 'link_notes', 'bloginfo', 'wp_title', 'widget_title',
                 'term_description'
         ) as $filter )
                 remove_filter( $filter, 'wptexturize' );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19550#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list