summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentyfourteen/comments.php')
-rw-r--r--themes/twentyfourteen/comments.php46
1 files changed, 24 insertions, 22 deletions
diff --git a/themes/twentyfourteen/comments.php b/themes/twentyfourteen/comments.php
index d62e91a7..a20dc1ec 100644
--- a/themes/twentyfourteen/comments.php
+++ b/themes/twentyfourteen/comments.php
@@ -25,23 +25,23 @@ if ( post_password_required() ) {
<h2 class="comments-title">
<?php
$comments_number = get_comments_number();
- if ( '1' === $comments_number ) {
- /* translators: %s: post title */
- printf( _x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'twentyfourteen' ), get_the_title() );
- } else {
- printf(
- /* translators: 1: number of comments, 2: post title */
- _nx(
- '%1$s thought on &ldquo;%2$s&rdquo;',
- '%1$s thoughts on &ldquo;%2$s&rdquo;',
- $comments_number,
- 'comments title',
- 'twentyfourteen'
- ),
- number_format_i18n( $comments_number ),
- get_the_title()
- );
- }
+ if ( '1' === $comments_number ) {
+ /* translators: %s: post title */
+ printf( _x( 'One thought on &ldquo;%s&rdquo;', 'comments title', 'twentyfourteen' ), get_the_title() );
+ } else {
+ printf(
+ /* translators: 1: number of comments, 2: post title */
+ _nx(
+ '%1$s thought on &ldquo;%2$s&rdquo;',
+ '%1$s thoughts on &ldquo;%2$s&rdquo;',
+ $comments_number,
+ 'comments title',
+ 'twentyfourteen'
+ ),
+ number_format_i18n( $comments_number ),
+ get_the_title()
+ );
+ }
?>
</h2>
@@ -55,11 +55,13 @@ if ( post_password_required() ) {
<ol class="comment-list">
<?php
- wp_list_comments( array(
- 'style' => 'ol',
- 'short_ping' => true,
- 'avatar_size' => 34,
- ) );
+ wp_list_comments(
+ array(
+ 'style' => 'ol',
+ 'short_ping' => true,
+ 'avatar_size' => 34,
+ )
+ );
?>
</ol><!-- .comment-list -->