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() ) : ?>
<h2 class="comments-title">
<?php
printf(
_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>'
);
printf( _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>' );
?>
</h2>
@ -42,12 +40,10 @@ if ( post_password_required() ) {
<ol class="comment-list">
<?php
wp_list_comments(
array(
'style' => 'ol',
'short_ping' => true,
)
);
wp_list_comments( array(
'style' => 'ol',
'short_ping' => true,
) );
?>
</ol><!-- .comment-list -->