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:
parent
fbd7cc9b6d
commit
b4a1cc7ea4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue