Opened 5 hours ago
#63082 new enhancement
Strip query strings in wp_redirect_admin_locations
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | trivial | Version: | trunk |
Component: | Canonical | Keywords: | |
Focuses: | Cc: |
Description
Downstream we're running into an issue where a plugin (Woo) that adds a query string to URLs for cache-busting purposes breaks the admin
and login
redirects in wp_redirect_admin_locations
. See ticket here: https://wordpress.org/support/topic/geolocation-hashing-breaks-wp_redirect_admin_locations/#post-18353343.
While a workaround is certainly possible, and maybe Woo should be doing it differently, would it make sense to strip query strings from the request URI in this redirect's matching logic?
Note: See
TracTickets for help on using
tickets.