mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 18:48:18 +01:00
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:
parent
7baf9a0320
commit
6e0db32ccc
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user