Opened 6 weeks ago
Last modified 6 weeks ago
#48085 new defect (bug)
use wp_safe_redirect() function
Reported by: | dkarfa | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch close |
Focuses: | Cc: | ||
PR Number: |
Description
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch! It would be helpful to describe what problem it solves though :)
Looking at other instances of
wp_safe_redirect()
in the admin, it's only used in combination withwp_get_referer()
to validate the target location sent by the client's browser.I don't see a point in using it when the location is a known admin URL.