From 0f873abeb73873e3e959c34a145f59b97e0b9055 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 09:05:34 +0000 Subject: [PATCH] Tidy category.php: escape output, fix heading printf --- category.php | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/category.php b/category.php index 41865eb..e27703d 100644 --- a/category.php +++ b/category.php @@ -1,23 +1,24 @@ -" . __("Kategori: ", "textdomain") . get_queried_object()->name . ""); - -if (have_posts()) : - while (have_posts()) : the_post(); -?> -
> -

-
- -
-
- +%s', + esc_html(sprintf(__("Kategori: %s", "super-simple-wp-theme"), get_queried_object()->name)) +); + +if (have_posts()) : + while (have_posts()) : the_post(); +?> +
> +

+
+ +
+
+