mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Fix so KSES works with Japanese encoding.
git-svn-id: https://develop.svn.wordpress.org/trunk@1253 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8e9dc5687d
commit
d197f0594b
@ -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…
x
Reference in New Issue
Block a user