admin-post.php results on white screen after form submission
The problem was: if ($_FILES) {} Can someone explain this to me? The wp_redirect() is outside of this if statement so why wouldn’t it redirect? Is it because that if statement was still firing but ran into an error as no files were being uploaded?