diff --git src/wp-includes/category-template.php src/wp-includes/category-template.php
index 35d6c82..9e3fe05 100644
|
|
function wp_generate_tag_cloud( $tags, $args = '' ) { |
893 | 893 | 'id' => $tag_id, |
894 | 894 | 'url' => '#' != $tag->link ? $tag->link : '#', |
895 | 895 | 'name' => $tag->name, |
896 | | 'title' => $title, |
897 | 896 | 'slug' => $tag->slug, |
898 | 897 | 'real_count' => $real_count, |
899 | 898 | 'class' => 'tag-link-' . $tag_id, |
… |
… |
function wp_generate_tag_cloud( $tags, $args = '' ) { |
915 | 914 | // generate the output links array |
916 | 915 | foreach ( $tags_data as $key => $tag_data ) { |
917 | 916 | $class = $tag_data['class'] . ' tag-link-position-' . ( $key + 1 ); |
918 | | $a[] = "<a href='" . esc_url( $tag_data['url'] ) . "' class='" . esc_attr( $class ) . "' title='" . esc_attr( $tag_data['title'] ) . "' style='font-size: " . esc_attr( str_replace( ',', '.', $tag_data['font_size'] ) . $args['unit'] ) . ";'>" . esc_html( $tag_data['name'] ) . "</a>"; |
| 917 | $a[] = "<a href='" . esc_url( $tag_data['url'] ) . "' class='" . esc_attr( $class ) . "' style='font-size: " . esc_attr( str_replace( ',', '.', $tag_data['font_size'] ) . $args['unit'] ) . ";'>" . esc_html( $tag_data['name'] ) . "</a>"; |
919 | 918 | } |
920 | 919 | |
921 | 920 | switch ( $args['format'] ) { |