esc_html__ & esc_html_e

This commit is contained in:
Alexander Agnarson 2016-03-22 19:16:21 +01:00
parent add13f3e88
commit e1809c5280
13 changed files with 42 additions and 42 deletions

View file

@ -4,11 +4,11 @@
<?php if ( have_comments() ) : global $wp_query; ?>
<h3 class="heading"><?php comments_number( __( 'No Responses', 'blogrow' ), __( '1 Response', 'blogrow' ), __( '% Responses', 'blogrow' ) ); ?></h3>
<h3 class="heading"><?php comments_number( esc_html__( 'No Responses', 'blogrow' ), esc_html__( '1 Response', 'blogrow' ), esc_html__( '% Responses', 'blogrow' ) ); ?></h3>
<ul class="comment-tabs group">
<li class="active"><a href="#commentlist-container"><i class="fa fa-comments-o"></i><?php _e( 'Comments', 'blogrow' ); ?><span><?php echo count($wp_query->comments_by_type['comment']); ?></span></a></li>
<li><a href="#pinglist-container"><i class="fa fa-share"></i><?php _e( 'Pingbacks', 'blogrow' ); ?><span><?php echo count($wp_query->comments_by_type['pings']); ?></span></a></li>
<li class="active"><a href="#commentlist-container"><i class="fa fa-comments-o"></i><?php esc_html_e( 'Comments', 'blogrow' ); ?><span><?php echo count($wp_query->comments_by_type['comment']); ?></span></a></li>
<li><a href="#pinglist-container"><i class="fa fa-share"></i><?php esc_html_e( 'Pingbacks', 'blogrow' ); ?><span><?php echo count($wp_query->comments_by_type['pings']); ?></span></a></li>
</ul>
<?php if ( ! empty( $comments_by_type['comment'] ) ) { ?>