• Is there any way I can suppress WordPress’s behavior that converts straight quotes to curly quotes, (c) to the copyright symbol and so on? I mean, short of looking up the individual ASCII characters and doing it that way. Sometimes we actually need those characters exactly the way we wrote them.

Viewing 1 replies (of 1 total)
  • Go to wp-includes/default-filters.php and right at the top (in 1.2.x, it’s wp-includes/vars.php and at the bottom) you’ll see a number of add_filter() calls using wptexturize; comment out (place two slashes before) those you don’t want to be affected:

    // add_filter('the_content', 'wptexturize');

Viewing 1 replies (of 1 total)

The topic ‘Suppressing text changes’ is closed to new replies.