From 9b29d3d6729db7a379edefbd5aee29863f8b7c58 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Wed, 14 Oct 2026 09:05:38 +0000 Subject: [PATCH] Tidy author.php: escape output, fix author name lookup --- author.php | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/author.php b/author.php index 9d0c061..fa99ecc 100644 --- a/author.php +++ b/author.php @@ -1,24 +1,24 @@ -" . __("Forfatter: ", "textdomain") . $author . "\n"); - -if (have_posts()) : - while (have_posts()) : the_post(); -?> -
> -

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

+
+ +
+
+