Add rel="tag" to tag links. fixes #4159

git-svn-id: https://develop.svn.wordpress.org/trunk@5568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-05-28 02:07:59 +00:00
parent 7baf9a0320
commit 6e0db32ccc
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
$tag_list = $before;
foreach ( $tags as $tag )
$tag_links[] = '<a href="' . get_tag_link($tag->term_id) . '">' . $tag->slug . '</a>';
$tag_links[] = '<a href="' . get_tag_link($tag->term_id) . '" rel="tag">' . $tag->slug . '</a>';
$tag_links = join( $sep, $tag_links );
$tag_links = apply_filters( 'the_tags', $tag_links );