mirror of
git://develop.git.wordpress.org/
synced 2025-01-18 05:18:42 +01:00
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:
parent
1b36113b6a
commit
1e61bd9879
@ -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);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user