From 4e97737cbcef56d5403657bad79c2f0a87e3e64a Mon Sep 17 00:00:00 2001 From: scribu Date: Thu, 4 Nov 2010 10:45:14 +0000 Subject: [PATCH] Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313 git-svn-id: http://svn.automattic.com/wordpress/trunk@16180 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;