get_the_tag_list from andy. fixes #4733

git-svn-id: https://develop.svn.wordpress.org/trunk@5871 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-08-14 03:44:49 +00:00
parent 1b36113b6a
commit 1e61bd9879
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);
}
?>