Opened 9 months ago
Closed 8 months ago
#60209 closed defect (bug) (fixed)
X-Redirect-By type incomplete
Reported by: | kkmuffme | Owned by: | swissspidy |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | HTTP API | Keywords: | has-patch |
Focuses: | Cc: |
Description
Setting the type to false (or any non-string) value, will disable sending the header.
I suggest adding false as type to document this behavior to make clear that false can be passed to NOT set this header.
Change History (5)
This ticket was mentioned in PR #5845 on WordPress/wordpress-develop by @kkmuffme.
9 months ago
#1
- Keywords has-patch added
This ticket was mentioned in Slack in #core by kkmuffme. View the logs.
8 months ago
#3
@
8 months ago
- Component changed from General to HTTP API
- Milestone changed from Awaiting Review to 6.5
Note: See
TracTickets for help on using
tickets.
Introduced in #42313
As much as I'd wish we don't need this and simply cast this to a string, it looks like some plugins are relying on this existing, yet undocumented, behavior.