[wp-trac] [WordPress Trac] #57464: non-existant filter referenced in the DocBlock of wp_safe_redirect() and wp_redirect()
WordPress Trac
noreply at wordpress.org
Sun Jan 15 00:15:35 UTC 2023
#57464: non-existant filter referenced in the DocBlock of wp_safe_redirect() and
wp_redirect()
--------------------------+------------------------
Reporter: pbiron | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.2
Component: HTTP API | Version: 4.6
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
--------------------------+------------------------
Changes (by SergeyBiryukov):
* version: 5.1 => 4.6
Comment:
It looks like the `wp_redirect_location` filter reference was originally
introduced in [37863], while [42206] copied it from `wp_redirect()` to
`wp_safe_redirect()`.
From my reading, `wp_redirect_status` appears to be the intended reference
instead.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57464#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list