Format comment header number
Apparently, some stories actually break a thousand. Good for them.
This commit is contained in:
parent
ee7a497134
commit
e2a4062cf6
@ -102,7 +102,7 @@ if ( ! function_exists( 'fictioneer_comment_header' ) ) {
|
|||||||
<?php echo
|
<?php echo
|
||||||
sprintf(
|
sprintf(
|
||||||
__( '<span class="fictioneer-comments__total">%1$s</span> <span>%2$s</span>' ),
|
__( '<span class="fictioneer-comments__total">%1$s</span> <span>%2$s</span>' ),
|
||||||
$comment_count,
|
number_format_i18n( $comment_count ),
|
||||||
_n( 'Comment', 'Comments', $comment_count, 'fictioneer' )
|
_n( 'Comment', 'Comments', $comment_count, 'fictioneer' )
|
||||||
)
|
)
|
||||||
?>
|
?>
|
||||||
|
@ -805,7 +805,7 @@ function fictioneer_story_comments( $args ) {
|
|||||||
$story['comment_count'],
|
$story['comment_count'],
|
||||||
'fictioneer'
|
'fictioneer'
|
||||||
),
|
),
|
||||||
$story['comment_count']
|
number_format_i18n( $story['comment_count'] )
|
||||||
);
|
);
|
||||||
?></h2>
|
?></h2>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user