Added proper escaping. Imrpoved security.

This commit is contained in:
Frank419
2024-08-29 15:18:30 +08:00
parent 7a913f5e83
commit 7f3d6330eb
10 changed files with 24 additions and 23 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ if ( !defined( 'WPINC' ) ) {
<?php
printf(
/* translators: %s: The search query. */
__( 'You have searched for: "%s"', 'minimalistflex' ),
esc_html__( 'You have searched for: "%s"', 'minimalistflex' ),
get_search_query()
)
?>
@@ -37,7 +37,7 @@ if ( !defined( 'WPINC' ) ) {
<?php
printf(
/* translators: %s: The search query. */
__( 'You have searched for: "%s"', 'minimalistflex' ),
esc_html__( 'You have searched for: "%s"', 'minimalistflex' ),
get_search_query()
)
?>