From e399d960f96e0207f0b4f683c19046d688f4e136 Mon Sep 17 00:00:00 2001 From: Kevin Boyd Date: Thu, 13 Aug 2026 13:30:50 -0700 Subject: [PATCH 1/4] Add warning for header_register_callback usage Added a warning about callback de-registration in header_register_callback. --- reference/network/functions/header-register-callback.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reference/network/functions/header-register-callback.xml b/reference/network/functions/header-register-callback.xml index 04d5a9252079..92e64663233c 100644 --- a/reference/network/functions/header-register-callback.xml +++ b/reference/network/functions/header-register-callback.xml @@ -21,6 +21,14 @@ headers to be sent, and before any other output is sent, creating a window to manipulate the outgoing headers before being sent. + + + Callbacks are not stacked. Subsequent calls to header_register_callback + will silently de-register any existing callback, regardless of where + it was set. Be aware that dependencies could overwrite your callback. + Troubleshooting this scenario can be difficult. + + From 90b77fd569aa83334b9f64824db6d7a57936f05c Mon Sep 17 00:00:00 2001 From: Kevin Boyd Date: Thu, 13 Aug 2026 14:24:11 -0700 Subject: [PATCH 2/4] Update to use simplepara and depersonalized wording --- reference/network/functions/header-register-callback.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/network/functions/header-register-callback.xml b/reference/network/functions/header-register-callback.xml index 92e64663233c..7730960e25cf 100644 --- a/reference/network/functions/header-register-callback.xml +++ b/reference/network/functions/header-register-callback.xml @@ -22,12 +22,12 @@ to manipulate the outgoing headers before being sent. - + Callbacks are not stacked. Subsequent calls to header_register_callback will silently de-register any existing callback, regardless of where - it was set. Be aware that dependencies could overwrite your callback. + it was set. Be aware that dependencies may overwrite the desired callback. Troubleshooting this scenario can be difficult. - + From c7307620064b389e49716116e2bcb89f2122ff52 Mon Sep 17 00:00:00 2001 From: Kevin Boyd Date: Thu, 13 Aug 2026 14:24:36 -0700 Subject: [PATCH 3/4] Fix XML tag from simplepara to simpara --- reference/network/functions/header-register-callback.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/network/functions/header-register-callback.xml b/reference/network/functions/header-register-callback.xml index 7730960e25cf..ff7d1c6e8398 100644 --- a/reference/network/functions/header-register-callback.xml +++ b/reference/network/functions/header-register-callback.xml @@ -22,12 +22,12 @@ to manipulate the outgoing headers before being sent. - + Callbacks are not stacked. Subsequent calls to header_register_callback will silently de-register any existing callback, regardless of where it was set. Be aware that dependencies may overwrite the desired callback. Troubleshooting this scenario can be difficult. - + From 4ce98bc616d936b63fad1094fa05c0075f1b2ec9 Mon Sep 17 00:00:00 2001 From: Kevin Boyd Date: Thu, 13 Aug 2026 15:38:11 -0700 Subject: [PATCH 4/4] Clarify warning about callback registration behavior --- reference/network/functions/header-register-callback.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/network/functions/header-register-callback.xml b/reference/network/functions/header-register-callback.xml index ff7d1c6e8398..1fccfc233790 100644 --- a/reference/network/functions/header-register-callback.xml +++ b/reference/network/functions/header-register-callback.xml @@ -25,7 +25,7 @@ Callbacks are not stacked. Subsequent calls to header_register_callback will silently de-register any existing callback, regardless of where - it was set. Be aware that dependencies may overwrite the desired callback. + it was set. Be aware that dependencies may overwrite the callback. Troubleshooting this scenario can be difficult.