From a752ca6cef3679e0cea11cae618b354f6482a6d9 Mon Sep 17 00:00:00 2001 From: wj-yuta-imai Date: Thu, 25 Jun 2026 16:10:47 +0900 Subject: [PATCH] Remove the hardcoded period after the switch-back link The period was output as a literal ASCII `.` outside any translatable string, so it could not be localised. Fixes #279. Co-Authored-By: Claude Opus 4.8 (1M context) --- user-switching.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user-switching.php b/user-switching.php index 49eaafe..2e75df8 100644 --- a/user-switching.php +++ b/user-switching.php @@ -520,7 +520,7 @@ public function action_admin_notices(): void { ], self::switch_back_url( $old_user ) ); $message .= sprintf( - ' %s.', + ' %s', esc_url( $switch_back_url ), esc_html( self::switch_back_message( $old_user ) ) );