wp_cache_sanitize_value() WPSCache 1.0
No Hooks.
Return
Null. Nothing.
Usage
wp_cache_sanitize_value( $text, $array );
Code of wp_cache_sanitize_value() wp cache sanitize value WPSCache 1.7.1
function wp_cache_sanitize_value($text, & $array) {
$text = esc_html(strip_tags($text));
$array = preg_split("/[\s,]+/", chop($text));
$text = var_export($array, true);
$text = preg_replace('/[\s]+/', ' ', $text);
return $text;
}