Do not cut the Tagged <tags> phrase in half. Fixes #13198

git-svn-id: http://svn.automattic.com/wordpress/trunk@14552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nbachiyski 2010-05-10 21:24:32 +00:00
parent 4ef8b0384d
commit e27f57e1b6
2 changed files with 10 additions and 2 deletions

View File

@ -437,7 +437,7 @@ function twentyten_posted_on() {
*/
function twentyten_posted_in() {
$tag_list = get_the_tag_list();
$tag_list = get_the_tag_list( '', ', ', '' );
if ( $tag_list ) {
$utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
} else {

View File

@ -119,7 +119,15 @@
?>
</span>
<span class="meta-sep">|</span>
<?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged ', 'twentyten' ) . '</span>', ', ', '<span class="meta-sep">|</span>' ); ?>
<?php
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
<span class="tag-links">
<span class="entry-utility-prep entry-utility-prep-tag-links"><?php printf( __('Tagged %s', 'twentyten'), '</span> ' . $tags_list ); ?>
</span>
<span class="meta-sep">|</span>
<?php endif; ?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
</div><!-- #entry-utility -->