Ticket #5172: 5172.2.patch
| File 5172.2.patch, 1010 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/category-template.php
904 904 905 905 // generate the output links array 906 906 foreach ( $tags_data as $key => $tag_data ) { 907 $a[] = "<a href='" . esc_url( $tag_data['url'] ) . "' class='" . esc_attr( $tag_data['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>";907 $a[] = "<a href='" . esc_url( $tag_data['url'] ) . "' class='" . esc_attr( $tag_data['class'] ) . " tag-link-position-" . count( $a ) . "' 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>"; 908 908 } 909 909 910 910 switch ( $args['format'] ) {