diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index caf93632a..69e56a575 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -536,9 +536,9 @@ function wp_tag_cloud( $args = '' ) { foreach ( $tags as $key => $tag ) { if ( 'edit' == $args['link'] ) - $link = get_edit_tag_link( $tag->term_id, $args['taxonomy'] ); + $link = get_edit_tag_link( $tag->term_id, $tag->taxonomy ); else - $link = get_term_link( intval($tag->term_id), $args['taxonomy'] ); + $link = get_term_link( intval($tag->term_id), $tag->taxonomy ); if ( is_wp_error( $link ) ) return false;