Skip to content

Commit

Permalink
nsthemecheck issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
themeegg committed Sep 23, 2017
1 parent 4434f94 commit d5ea860
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function eggnews_entry_footer() {
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'eggnews' ) );
if ( $tags_list ) {
/* translators: %s: tag list */
printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'eggnews' ) . '</span>', $tags_list ); // WPCS: XSS OK.
}
}
Expand Down
5 changes: 4 additions & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
if ( have_posts() ) : ?>

<header class="page-header">
<h1 class="page-title"><?php printf( esc_html__( 'Search Results for: %s', 'eggnews' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
<h1 class="page-title"><?php
/* translators: %s: search query */
printf( esc_html__( 'Search Results for: %s', 'eggnews' ), '<span>' . get_search_query() . '</span>' );
?></h1>
</header><!-- .page-header -->

<?php
Expand Down
1 change: 1 addition & 0 deletions template-parts/content-none.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<p><?php
printf(
wp_kses(
/* translators: %s: hyperlink*/
esc_html__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'eggnews' ),
array( 'a' => array( 'href' => array() ) )
),
Expand Down

0 comments on commit d5ea860

Please sign in to comment.