[wp-trac] [WordPress Trac] #15518: Exit After wp_redirect

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 20 14:52:50 UTC 2010


#15518: Exit After wp_redirect
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |       Owner:  filosofo 
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  General       |     Version:  3.1      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 We should end code execution after calling `wp_redirect`, except in those
 rare cases where code execution is meant to occur after sending the
 headers, such as in cron and plugin activation check.

 Otherwise, we risk unexpected behavior and unseen results in some cases.

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


More information about the wp-trac mailing list