[wp-trac] [WordPress Trac] #56160: Deprecate wp_sanitize_redirect

WordPress Trac noreply at wordpress.org
Wed Jul 6 12:29:53 UTC 2022

#56160: Deprecate wp_sanitize_redirect
 Reporter:  malthert     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Security     |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
 All places that currently use it are better served with esc_url_raw and
 there seems to be no correct usage of it anywhere (most plugins use it
 where esc_url_raw should be used instead).

 I'm happy to provide a PR, I just need to get some heads up about how the
 deprecation process works in WP exactly.

Ticket URL: <https://core.trac.wordpress.org/ticket/56160>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list