Fix so KSES works with Japanese encoding.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-05-09 23:25:24 +00:00
parent fbd7cc9b6d
commit b4a1cc7ea4

View File

@ -411,8 +411,6 @@ function wp_kses_no_null($string)
$string = preg_replace('/\0+/', '', $string);
$string = preg_replace('/(\\\\0)+/', '', $string);
$string = preg_replace('/\xad+/', '', $string); # deals with Opera "feature"
return $string;
} # function wp_kses_no_null