Skip to content

Commit

Permalink
Escaped translation. Fixed phpcs:ignore message.
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromtonya committed Jul 3, 2018
1 parent eddec17 commit 61b4fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/templates/fragments/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function beans_post_search_title() {

beans_open_markup_e( 'beans_search_title', 'h1', array( 'class' => 'uk-article-title' ) );

printf( '%1$s%2$s', beans_output( 'beans_search_title_text', __( 'Search results for: ', 'tm-beans' ) ), get_search_query() ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped -- Pending security audit.
printf( '%1$s%2$s', beans_output( 'beans_search_title_text', esc_html__( 'Search results for: ', 'tm-beans' ) ), get_search_query() ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped -- Each placeholder is escaped.

beans_close_markup_e( 'beans_search_title', 'h1' );
}
Expand Down

0 comments on commit 61b4fdc

Please sign in to comment.