Make WordPress Core

Changeset 16180


Ignore:
Timestamp:
11/04/2010 10:45:14 AM (14 years ago)
Author:
scribu
Message:

Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r16114 r16180  
    537537    foreach ( $tags as $key => $tag ) {
    538538        if ( 'edit' == $args['link'] )
    539             $link = get_edit_tag_link( $tag->term_id, $args['taxonomy'] );
     539            $link = get_edit_tag_link( $tag->term_id, $tag->taxonomy );
    540540        else
    541             $link = get_term_link( intval($tag->term_id), $args['taxonomy'] );
     541            $link = get_term_link( intval($tag->term_id), $tag->taxonomy );
    542542        if ( is_wp_error( $link ) )
    543543            return false;
Note: See TracChangeset for help on using the changeset viewer.