humanmade / humanmade/altis-browser-security

Use of 'template_redirect' instead of 'send_headers' for setting headers

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
10
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hi,

I noticed that the 'template_redirect' action hook is being used to set headers, and according to the [README](https://github.com/humanmade/altis-browser-security/blob/af3ddf02a1e4cd2534c718edf07012689f217139/README.md?plain=1#L177) this is the recommended way.

Could you please provide some insight into why 'template_redirect' was chosen over 'send_headers' in this context?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.