mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Show the name, not the slug. fixes #4473
git-svn-id: http://svn.automattic.com/wordpress/trunk@5715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e7890261e5
commit
404e50bfb3
@ -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…
Reference in New Issue
Block a user