I have custom login form that displays a logout link after a user has logged in.
I'm running into an issue when clicking log out. Wordpress redirects the user to a url with the parameter
loggedout=true when logging back in.
How can I make it so this parameter will be ignored in the referer url when logging in?