diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 46f7b90eab..ea369216b0 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -674,15 +674,13 @@ function wp_generate_tag_cloud( $tags, $args = '' ) { $a = array(); - $rel = ( is_object( $wp_rewrite ) && $wp_rewrite->using_permalinks() ) ? ' rel="tag"' : ''; - foreach ( $tags as $key => $tag ) { $count = $counts[ $key ]; $real_count = $real_counts[ $key ]; $tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#'; $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key; $tag_name = $tags[ $key ]->name; - $a[] = "$tag_name"; }