Definition:
function wp_kses_no_null($string) {}
Removes any NULL characters in $string.
Parameters
- string $string
Source code
function wp_kses_no_null($string) {
$string = preg_replace('/\0+/', '', $string);
$string = preg_replace('/(\\\\0)+/', '', $string);
return $string;
}
3839

February 12, 2011 


No comments yet... Be the first to leave a reply!