[wp-trac] [WordPress Trac] #22612: Filterable default for wp_safe_redirect/wp_validate_redirect

WordPress Trac noreply at wordpress.org
Tue Nov 27 21:00:23 UTC 2012


#22612: Filterable default for wp_safe_redirect/wp_validate_redirect
-----------------------------+-------------------------
 Reporter:  batmoo           |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 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).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22612>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list