I cannot understand how update from deprecation this function:
function kses_bad_protocol_once($string, $allowed_protocols) {
    return preg_replace('/^((&[^;]*;|[\sA-Za-z0-9])*)'.
                          '(:|:|&#[Xx]3[Aa];)\s*/e',
                          'kses_bad_protocol_once2("\\1", $allowed_protocols)',
                          $string);
}
How I can pass to the function:
kses_bad_protocol_once2
the two parameter needed, converting this function with a pref_replace_callback one?
 
    