[wp-trac] [WordPress Trac] #20060: wp_redirect() doesn't exit

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 17 22:13:02 UTC 2012


#20060: wp_redirect() doesn't exit
--------------------------------------+------------------------------
 Reporter:  iandunn                   |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Security                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+------------------------------

Comment (by iandunn):

 The problem with wp_do_redirect() is that it's not self-documenting or
 intuitive. I think the function name should tell you how it differs from
 wp_redirect(). I think it'd be fine to shorten wp_redirect_and_exit() to
 wp_redirect_exit(), though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20060#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list