Opened 14 months ago
#60084 new enhancement
Modify default value for x_redirected_by parameters
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
Hello,
The function wp_redirect()
and wp_safe_redirect()
are accepting a 3rd parameter $x_redirected_by
which is by default WordPress
.
This 3rd parameter is really useful to debug redirection but only few plugins are using it.
I only know Polylang, Yoast SEO and Redirection by John Godley which are using it. All other redirections made by a third party (theme or plugins) are signed WordPress
which is misleading.
I think we should change the default value to something more generic like Not Signed
and add WordPress
to the real redirections made by the Core.
I do not really know how many redirections WordPress do but I think it would really help lots of developers.
Note: See
TracTickets for help on using
tickets.