Changeset 38800
- Timestamp:
- 10/16/2016 08:08:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/category-template.php
r38777 r38800 918 918 'id' => $tag_id, 919 919 'url' => '#' != $tag->link ? $tag->link : '#', 920 'role' => '#' != $tag->link ? '' : ' role="button"', 920 921 'name' => $tag->name, 921 922 'title' => $title, … … 941 942 foreach ( $tags_data as $key => $tag_data ) { 942 943 $class = $tag_data['class'] . ' tag-link-position-' . ( $key + 1 ); 943 $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>";944 $a[] = "<a href='" . esc_url( $tag_data['url'] ) . "'" . $tag_data['role'] . " 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>"; 944 945 } 945 946
Note: See TracChangeset
for help on using the changeset viewer.