[wp-trac] [WordPress Trac] #41036: wp_redirect fails with error in WP 4.8

WordPress Trac noreply at wordpress.org
Fri Jun 23 12:18:41 UTC 2017


#41036: wp_redirect fails with error in WP 4.8
-------------------------------------------------+----------------------
 Reporter:  dkurth                               |       Owner:
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:
Component:  Administration                       |     Version:  4.8
 Severity:  major                                |  Resolution:  invalid
 Keywords:  reporter-feedback needs-patch close  |     Focuses:
-------------------------------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 If you remove `wp_redirect()` entirely and use `header( "Location:
 https://www.mmd-ca.com/", true, 302 );` instead, you'll see the same
 warning from PHP.

 I'm going to close this ticket because I'm pretty sure this isn't a bug in
 WordPress core, but do please re-open it if you find something and think
 otherwise.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41036#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list