I'm using the theme TwentyThriteen1.0 for my WordPress blog.
I recognized that the tags in the meta-part of an article are not separated by a comma. I had a look at the function twentythirteen_entry_meta()
in the file functions.php
of my theme, which contains:
$tag_list = get_the_tag_list( '', __( ', ', 'twentythirteen' ) );
According to the documentation for get_the_tag_list()
(http://codex.wordpress.org/Function_Reference/get_the_tag_list), the tags should be separated by a space after the comma. Looking at the HTML source reveals </a>,<a href=
, instead of </a>, <a href=
.
When I now add a space in the functions.php
in front of the comma:
$tag_list = get_the_tag_list( '', __( ' , ', 'twentythirteen' ) );
the HTML source has both spaces: </a> , <a href=
. This is really strange to me,... Is this a error or deliberate?
Or is this an error of the function translate()
(alias __()
) that removes trailing spaces if there are no leading spaces? I'm using the german version of Wordpress.