[wp-trac] [WordPress Trac] #17926: Wordpress replacing single quotes, dashes, and other basic characters with extended search-unfriendly ones

WordPress Trac noreply at wordpress.org
Mon Jan 12 08:08:30 UTC 2015


#17926: Wordpress replacing single quotes, dashes, and other basic characters with
extended search-unfriendly ones
--------------------------+------------------------
 Reporter:  archon810     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => duplicate
 * component:  General => Formatting


Comment:

 Replying to [comment:3 archon810]:
 > Appreciate the solution, but what exactly is the benefit of mutating
 perfectly fine characters to different ones?

 Better typography. See the
 [http://codex.wordpress.org/Function_Reference/wptexturize Codex page] for
 the list of replacements.

 Replying to [comment:4 _doherty]:
 > It'd be nice to at least offer to stop corrupting users' inputs if they
 want you do.

 You can disable it using
 [https://developer.wordpress.org/reference/hooks/run_wptexturize
 run_wptexturize filter] introduced in #19550.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17926#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list