admin-post.php form handling only working when logged in as admin


I built a custom plugin with a form and form handler function, it works as expected on other sites but on this particular site it only works when logged in as admin.

If not logged in, or logged in as a regular user, form submission redirects to site front page. If logged in as admin the form handler function is fired properly.

Any ideas of how to fix?

omnidev 4 months 0 Answers 15 views 0

Leave an answer