Code: Select all
function stripslashes_deep($value)
{
$value = is_array($value) ?
array_map('stripslashes_deep', $value) :
stripslashes($value);
return $value;
}Can anyone see any enhancements or issues with this approach...
Cheers,
Alex