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
This commit is contained in:
parent
037fae5ae6
commit
4e97737cbc
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue