mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
Show the name, not the slug. fixes #4473
git-svn-id: https://develop.svn.wordpress.org/trunk@5715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
240cfc467c
commit
55845bb061
@ -436,7 +436,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) . '" rel="tag">' . $tag->slug . '</a>';
|
||||
$tag_links[] = '<a href="' . get_tag_link($tag->term_id) . '" rel="tag">' . $tag->name . '</a>';
|
||||
|
||||
$tag_links = join( $sep, $tag_links );
|
||||
$tag_links = apply_filters( 'the_tags', $tag_links );
|
||||
|
Loading…
x
Reference in New Issue
Block a user