forked from mirror/_s
Undid my multiline function corrections
This commit is contained in:
parent
776eaf6e94
commit
0b96c02e02
16
comments.php
16
comments.php
|
@ -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 “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', '_s' ),
|
||||||
_nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', 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 -->
|
||||||
|
|
||||||
|
|
Reference in New Issue