Changeset 5917
- Timestamp:
- 08/22/2007 10:28:00 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/category-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r5899 r5917 329 329 $counts[$tag->name] = $tag->count; 330 330 $tag_links[$tag->name] = get_tag_link( $tag->term_id ); 331 $tag_ids[$tag->name] = $tag->term_id; 331 332 } 332 333 … … 354 355 355 356 foreach ( $counts as $tag => $count ) { 357 $tag_id = $tag_ids[$tag]; 356 358 $tag_link = clean_url($tag_links[$tag]); 357 359 $tag = str_replace(' ', ' ', wp_specialchars( $tag )); 358 $a[] = "<a href='$tag_link' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "'$rel style='font-size: " .360 $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attribute_escape( sprintf( __('%d topics'), $count ) ) . "'$rel style='font-size: " . 359 361 ( $smallest + ( ( $count - $min_count ) * $font_step ) ) 360 362 . "$unit;'>$tag</a>";
Note: See TracChangeset
for help on using the changeset viewer.