private function get_public_url($term_id, $taxonomy)
{
$changed = $this->fix_term_base($taxonomy);
$url = get_term_link((int) $term_id, $taxonomy);
if (is_wp_error($url)) {
$url = '';
}
if ($changed) {
$this->set_permastruct($taxonomy, $changed);
}
return $url;
}