Fix remaining PHPCS errors:
* Add ignoring in template-tags.php and comments.php. * Escape header text color in custom-header.php.
This commit is contained in:
parent
89602b2c3a
commit
2aef92e5a3
3 changed files with 10 additions and 9 deletions
|
@ -25,7 +25,7 @@ if ( post_password_required() ) {
|
|||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">
|
||||
<?php
|
||||
printf(
|
||||
printf( // WPCS: XSS OK
|
||||
esc_html( _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>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue