From 88dfeaca8ae80bce6e50698a4c039cebefbfe7da Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 8 Oct 2009 17:05:32 +0000 Subject: [PATCH] Remove rel='tag' on links in Tag Clouds as it is only for outbound links where the destination is a tag for the current page. Fixes #10897. git-svn-id: http://svn.automattic.com/wordpress/trunk@12009 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/category-template.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"; }