Opened 6 months ago

Last modified 6 months ago

#22612 new enhancement

Filterable default for wp_safe_redirect/wp_validate_redirect

Reported by: batmoo Owned by:
Priority: normal Milestone: Awaiting Review
Component: General Version:
Severity: normal Keywords:
Cc: batmoo, jkudish, erick@…

Description

The default/fallback for wp_safe_redirect is admin_url(). It would be nice to have a filter to be able to modify this (e.g. redirect to home_url() instead, which is probably a better default anyway).

Change History (2)

  • Cc jkudish added
  • Cc erick@… added
Note: See TracTickets for help on using tickets.