get_the_tag_list from andy. fixes #4733
git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
13b23aa20a
commit
951a41ad1e
|
@ -431,7 +431,7 @@ function get_the_tags( $id = 0 ) {
|
||||||
return $tags;
|
return $tags;
|
||||||
}
|
}
|
||||||
|
|
||||||
function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
|
function get_the_tag_list( $before = '', $sep = '', $after = '' ) {
|
||||||
$tags = get_the_tags();
|
$tags = get_the_tags();
|
||||||
|
|
||||||
if ( empty( $tags ) )
|
if ( empty( $tags ) )
|
||||||
|
@ -447,7 +447,11 @@ function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
|
||||||
|
|
||||||
$tag_list .= $after;
|
$tag_list .= $after;
|
||||||
|
|
||||||
echo $tag_list;
|
return $tag_list;
|
||||||
|
}
|
||||||
|
|
||||||
|
function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
|
||||||
|
echo get_the_tag_list($before, $sep, $after);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue