We've recently just upgraded our WordPress site to
After the upgrade, we've started encountering issues when executing the
wp_logout() function of WordPress. Somehow we're getting a
302 response but there is no error/warning being shown.
I've narrowed it inside the
wp_logout() and determined that both
wp_clear_auth_cookie(); are working fine!
This means that the error happens when the last line in
wp_logout() is called:
do_action( 'wp_logout' );
My question is:
Is it possible to for external plugins to somehow corrupt the
wp_logoutaction with functions that can break the flow and give a
302or is there anything in