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

WordPress Trac noreply at wordpress.org
Thu Jun 22 22:28:04 UTC 2017


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

Comment (by dkurth):

 well, here is the thing.
 1. It did work and incredibly well.  I had over 100 people testing it from
 around the world.
 2. When you call exit().  The page stops loading and all you get is a
 blank page, so for that reason I took that out and it never had it to
 begin with.
 3. Even with every single plugin, except the redirect, removed, it still
 does not work.

 4. Ironicly, another site I did with different settings, the header call
 works, which is inside the wp_redirect()

 I tested it again on a fresh version of WordPress, no plugins, except this
 one version, and used a twentyseventeen theme and it failed with the same
 error.   Looking for if it worked before, then what was changed in the
 header in this version that needs to be applied now in order for the call
 to work.

 Feel like a bug to me, since the call does not do what the documentation
 said it would.  Your thoughts?

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


More information about the wp-trac mailing list