Undid my multiline function corrections

This commit is contained in:
Jack Lenox 2014-06-25 10:31:51 +01:00
parent 776eaf6e94
commit 0b96c02e02
1 changed files with 6 additions and 10 deletions

View File

@ -25,10 +25,8 @@ if ( post_password_required() ) {
<?php if ( have_comments() ) : ?> <?php if ( have_comments() ) : ?>
<h2 class="comments-title"> <h2 class="comments-title">
<?php <?php
printf( printf( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', '_s' ),
_nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', get_comments_number(), 'comments title', '_s' ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' );
number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>'
);
?> ?>
</h2> </h2>
@ -42,12 +40,10 @@ if ( post_password_required() ) {
<ol class="comment-list"> <ol class="comment-list">
<?php <?php
wp_list_comments( wp_list_comments( array(
array( 'style' => 'ol',
'style' => 'ol', 'short_ping' => true,
'short_ping' => true, ) );
)
);
?> ?>
</ol><!-- .comment-list --> </ol><!-- .comment-list -->