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:
ryan 2007-08-14 03:44:49 +00:00
parent 13b23aa20a
commit 951a41ad1e
1 changed files with 6 additions and 2 deletions

View File

@ -431,7 +431,7 @@ function get_the_tags( $id = 0 ) {
return $tags;
}
function the_tags( $before = 'Tags: ', $sep = ', ', $after = '' ) {
function get_the_tag_list( $before = '', $sep = '', $after = '' ) {
$tags = get_the_tags();
if ( empty( $tags ) )
@ -447,7 +447,11 @@ function the_tags( $before = 'Tags: ', $sep = ', ', $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);
}
?>