0815

Du musst dich anmelden um Beiträge und Themen zu erstellen. Einloggen · Registrieren

Remove Fancy Quotes from Comments

Prevent invalid markup and sloppy code by disabling WordPress’ automatic generation of “fancy” or “curly” quotes where they fail the most: your comments area.

Only one simple line of code is required, placed into your theme’s functions.php file:

remove_filter(‘comment_text’, ‘wptexturize’);

Source: WPRecipes.com




0