Mass escaping and singular placeholder fix according to the CS check.

This commit is contained in:
Frank419
2024-08-29 15:48:42 +08:00
parent 45e080cfba
commit 3cf6389db6
11 changed files with 65 additions and 66 deletions
+3 -3
View File
@@ -17,14 +17,14 @@ if ( post_password_required() ) {
printf(
/* translators: %1$s: Number of comments. %2$s: Post title. */
esc_html( _nx(
'One comment on "%2$s"',
'%1$s comment on "%2$s"',
'%1$s comments on "%2$s"',
get_comments_number(),
'comments title',
'minimalistflex'
) ),
number_format_i18n( get_comments_number() ),
'<span>' . get_the_title() . '</span>'
esc_html( number_format_i18n( get_comments_number() ) ),
'<span>' . esc_html( get_the_title() ) . '</span>'
);
?>
</h2>