From 52f8ce46d0e0968192d8cebb80e6509ce608c0ed Mon Sep 17 00:00:00 2001 From: Hao Date: Thu, 16 Jun 2022 08:27:38 +0800 Subject: [PATCH] fix: disable wptexturize --- functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.php b/functions.php index d493adb..bc1d020 100644 --- a/functions.php +++ b/functions.php @@ -689,4 +689,7 @@ function auto_featured_image($post_ID, $post, $update) } add_action('wp_insert_post', 'auto_featured_image', 10, 3); +// disable wptexturize +remove_filter('the_content', 'wptexturize'); +