[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
Sat Jan 14 17:39:58 UTC 2023
#57464: non-existant filter referenced in the DocBlock of wp_safe_redirect() and
wp_redirect()
--------------------------+-----------------------------
Reporter: pbiron | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTTP API | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The DocBlocks of
[https://developer.wordpress.org/reference/functions/wp_safe_redirect/
wp_safe_redirect()] and
[https://developer.wordpress.org/reference/functions/wp_redirect/
wp_redirect()] reference a `wp_redirect_location` filter, which doesn't
exist.
I'm not sure what filter is intended, but maybe either
[https://developer.wordpress.org/reference/hooks/wp_redirect_status/
wp_redirect_status] or
[https://developer.wordpress.org/reference/hooks/wp_safe_redirect_fallback/
wp_safe_redirect_fallback]?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57464>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list