### Eclipse Workspace Patch 1.0
#P Wordpress
Index: wp-includes/category-template.php
===================================================================
--- wp-includes/category-template.php	(revision 13634)
+++ wp-includes/category-template.php	(working copy)
@@ -550,7 +550,10 @@
 
 	if ( empty( $tags ) )
 		return;
-
+		
+	global $wp_query;
+	$queried_object_id = $wp_query->get_queried_object_id();
+		
 	foreach ( $tags as $key => $tag ) {
 		if ( 'edit' == $args['link'] )
 			$link = get_edit_tag_link( $tag->term_id, $args['taxonomy'] );
@@ -561,8 +564,9 @@
 
 		$tags[ $key ]->link = $link;
 		$tags[ $key ]->id = $tag->term_id;
+		$tags[ $key ]->current = ($tags[ $key ]->id == $queried_object_id);
 	}
-
+	
 	$return = wp_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args
 
 	$return = apply_filters( 'wp_tag_cloud', $return, $args );
@@ -693,9 +697,14 @@
 		$tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#';
 		$tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key;
 		$tag_name = $tags[ $key ]->name;
-		$a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( $topic_count_text_callback( $real_count ) ) . "' style='font-size: " .
+		
+		$tag_classes = "tag-link-$tag_id";
+		if ($tag->current === true)
+			$tag_classes .= ' current-tag';
+		
+		$a[] = "<a href='$tag_link' class='$tag_classes' title='" . esc_attr( $topic_count_text_callback( $real_count ) ) . "' style='font-size: " .
 			( $smallest + ( ( $count - $min_count ) * $font_step ) )
-			. "$unit;'>$tag_name</a>";
+			. "$unit;' >$tag_name</a>";
 	}
 
 	switch ( $format ) :

