﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
17449,get_term_link does not work on dereived terms from get_category,zanematthew,,"I was noticing that get_categories as of 3.0 allows you to specify a taxonomy, which is great! because there's lots of useful args to be passed into get_categories, but there seems to be a problem where once you have a list of terms for a given taxonomy you can not use get_term_link to retrieve the link to your term.


sample:

// Does NOT work
// $args = array('taxonomy' => 'my_cool_tax' );
// $terms = get_categories( $args );

// Does WORK
$taxonomy = 'my_cool_tax';
$terms = get_terms( $taxonomy );

foreach( $terms as $term ) {
   $html .= '<li><a href=""'.get_term_link( $term->slug, $term->taxonomy ) . '""'>'.$term->name.'</a></li>';
}

print '<ul>' . $html . '</ul>';",defect (bug),closed,normal,,Taxonomy,3.1.2,minor,worksforme,,
