From 1d904e653242fd3c5796d81295f90073b322d176 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 29 Aug 2026 18:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/helpers/homepage/header-components.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inc/helpers/homepage/header-components.php b/inc/helpers/homepage/header-components.php index 02588fc8..05f94644 100644 --- a/inc/helpers/homepage/header-components.php +++ b/inc/helpers/homepage/header-components.php @@ -49,8 +49,16 @@ if (!function_exists('aksrt_header_slide_current_page_type')) { * * Custom rewrite requests can retain WordPress's is_home flag, so the * explicit theme surfaces must win before the home fallback is evaluated. + * Utility rewrites (download token hand-off, go-link confirm) are error / + * hand-off surfaces and opt out entirely, like the excluded templates. */ function aksrt_header_slide_current_page_type(): string { + if (class_exists('\AKSRT\Content\Download') && (string) get_query_var(\AKSRT\Content\Download::QUERY_VAR) !== '') { + return ''; + } + if ((string) get_query_var('aksrt_go_redirect') !== '') { + return ''; + } if ((string) get_query_var('aksrt_message_view') !== '') { return 'page'; }