From 8b93ca0602e486ef61a806f306cf2e9ef3d2f722 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 09:05:29 +0000 Subject: [PATCH] Tidy search.php: escape output, fix heading printf --- search.php | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/search.php b/search.php index de24635..d2759df 100644 --- a/search.php +++ b/search.php @@ -1,23 +1,24 @@ -" . esc_html__("Søk: %s", "textdomain"), get_search_query() . ""); - -if (have_posts()) : - while (have_posts()) : the_post(); -?> -
> -

-
- -
-
- +%s', + esc_html(sprintf(__("Søk: %s", "super-simple-wp-theme"), get_search_query())) +); + +if (have_posts()) : + while (have_posts()) : the_post(); +?> +
> +

+
+ +
+
+