-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot wp_redirect inside Components anymore #349
Comments
Can you please post some actual code needed to reproduce this? |
|
I am going to close this issue as nothing has changed in Acorn related to how view components are handled. If this was broken/changed at some point, it would've been done in an upstream change in Laravel or it could possibly be related to roots/sage#3167 |
Version
4.0.2
What did you expect to happen?
Previously if I added a wp_redirect call in the constructor of a component, it would go to the new page. I usually do a check to know if it's a post or not (this is for a form post being handled by the component). Regardless, wp_redirect doesn't do anything. I do have exit; called right after it.
What actually happens?
The same page appears.
Steps to reproduce
System info
No response
Log output
No response
Please confirm this isn't a support request.
No
The text was updated successfully, but these errors were encountered: