[wp-trac] [WordPress Trac] #17207: Don't replace quotes by literary quotes

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 18:45:49 UTC 2011


#17207: Don't replace quotes by literary quotes
--------------------------+------------------------------
 Reporter:  rom92         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  minor         |  Resolution:  wontfix
 Keywords:                |
--------------------------+------------------------------
Changes (by duck_):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This is intended behaviour for display of content. You can stop this by
 removing wptexturize from the hooks it's attached to. See wp-includes
 /default-filters.php for the places it is used. Then you can pretty much
 do the same but replace add_filter with remove_filter and put it in a
 plugin or in your theme's functions.php.

 I cannot say if this is the original reason for being on a filter, but to
 have the original unchanged content in the database makes sense and only
 change it for display like this.

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


More information about the wp-trac mailing list