From 01635abdb98ed349b50c4fc8d0d014c80418e7fa Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 26 May 2009 05:05:46 +0000 Subject: [PATCH] Don't use esc_html() for DB bound data. see #9934 git-svn-id: http://svn.automattic.com/wordpress/trunk@11460 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index e07b206be8..d200e49176 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -20,7 +20,7 @@ foreach ( $filters as $filter ) { add_filter($filter, 'strip_tags'); add_filter($filter, 'trim'); add_filter($filter, 'wp_filter_kses'); - add_filter($filter, 'esc_html', 30); + add_filter($filter, 'wp_specialchars', 30); } // Kses only for textarea saves