Commit 951a41ad authored by ryan's avatar ryan

get_the_tag_list from andy. fixes #4733

git-svn-id: http://svn.automattic.com/wordpress/trunk@5871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 13b23aa2
......@@ -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);
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment