From d9f0d00240d5db3a3fd8afa4e9759eeaed5c29f8 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sat, 5 Dec 2009 11:19:18 -0800 Subject: [PATCH] Wp texturize removal text Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 3a75281..6df5d2d 100644 --- a/functions.php +++ b/functions.php @@ -196,10 +196,14 @@ function is_cp_theme_layout($choices) { return false; } +/** + * Remove of wordpress auto-texturizer. + * Dependant on the need remove the commented out areas of this code. + * Ex. Russian Language users will need to uncomment all of these to handle the character set dependant on + * if they utilize the language translation pack. + **/ if ($comicpress_options['remove_wptexturize']) { - // Remove the wptexturizer from changing the quotes and squotes. remove_filter('the_content', 'wptexturize'); - // These are left here so they dont have to be looked up every single time. // remove_filter('the_content', 'wpautop'); // remove_filter('the_title', 'wptexturize'); // remove_filter('the_excerpt', 'wptexturize');