This happens because of a missing nonce parameter in the URL.
Every WordPress action, including login/logout, validates the nonce first, to make sure the request comes from a known source.
Related Posts:
- How to log out without confirmation ‘Do you really want to log out?”?
- How change wordpress password without logout ( need for plugin )
- Clearing cookie on logout and session expiration
- wp_logout Not Logging Me Out
- Get wp_logout_url function to work on external (non-WordPress) page
- WordPress failure when logging out
- wp_logout() changes in WordPress 5.1.1
- wp_logout not redirecting using wp_logout_url() and wp_redirect()
- Logout using link (without nonce)
- Logout redirects to /forums/
- What is difference between logout and switch off?
- LogOut button only if logged in in front end menu widget
- wp_logout_url($redirect) won’t logout and redirect ()
- How to hide “You are now logged out” message on WordPress login form?
- logout error “something went wrong”
- Logout all users at particular time
- What is the link to log out on WordPress?
- How do I replace “Log Out” from the Menu with “My Orders”?
- Redirection of wp-login.php results in non working of Logout process
- wp_logout_url($uri) having two redirect values
- wp_logout problem
- How to restrict browser back button after logout?
- Logout button php
- How reduce wordpress login session timeout time?
- Logout redirect to home page
- Logout redirect to current page – function
- Masking logout URL
- handling login/logout redirects
- Logout/login redirect CSS issue
- How to log out everywhere else, destroy all sessions “all other devices”?
- share login/logout sessions across two installs?
- Change “You are now logged out” text
- Logout via Subdomain, non-wordpress page on a different server?
- WordPress Nonce Issue for Ajax Login and Logout
- wp_logout action not working
- Ajax function returns -1
- wp_logout_url isn’t forwarding to correct link
- wp_nav_menu log in/out link?
- Redirect user after logout
- Logout issue with new Domain on WP Multisite
- I keep getting logged out in Firefox
- Logout redirects to a broken page(home URL is omitted)
- how to logout user on browser tab or window closes
- Custom Connect to Facebook, problem logging in/logging out
- Logout user and delete cookies from the client side?
- Is there any way to check for user login and send him to login?
- Preexisting login to change to logout link in sub menu
- Hook to change Logout url
- How would I hook into `clear_auth_cookie` to return the user’s ID that’s currently being logged out?
- Disconnect automattically after X minutes
- How to: PHP Log Out Link?
- do_action appearing outside of menu?
- Login/logout in header
- Logout users upon login, based on caps/role?
- WordPress Keeps Logging Out – What Tests Can I Run to Solve This?
- Session Experies and Get Logged Out Within Few Minutes
- Update user meta on logout
- After logout browser’s back button into twenty sixteen theme profile
- Disallow second login session
- WordPress error on log out ‘Not Permitted’ and can’t log out
- Use wp_logout_url() in menu creation page
- Add logout link when logged in, make it disappear when logged out?
- Woocommerce, prevent login after registration and redirect to custom URL
- Logout without confirmation and SAME window on mobile
- Set Short Automatic Logout Time for One User
- Force Users To Relogin
- wp_logout hook never triggered
- How to hook a logout funtion for specific usr role in wordpress?
- Logout after clicking URL link results in “headers already sent” error
- Woocommerce – auto logout after payment
- Logout redirects to default page
- How to Show Different Menus to Logged in Users in WordPress [duplicate]
- login logout menu changes in wordpress [closed]
- get_permalink not fetching correct pages
- wp_logout_url($redirect); is not working in wordpress
- WordPress Login/Logout Single Menu Only
- How to redirect logged out users to specific page?
- Add Login and logout buttons to top menu bar
- add class to element if user is not logged in [closed]
- Multiple use wp_logout_url() on page cause ‘header already sent’ error after submit form
- Check if user had autologin & if so, logout
- Change auth_cookie_expiration for specific roles and specific login times
- Log out without confirmation request (nonce)
- Problem with is_user_logged_in() function in some pages
- How to add Loginout to Sub-menu
- Unable to update plugins or log out
- How to redirect returning users who previously logged in?
- logging out with/without confirmation – single site, multisite
- Logout user if click on a custom page link
- Change Login or Logout text based on status
- Why deleting/removing cookies in WordPress does not log me out from admin?
- Custom, conditional redirect on logout
- Logout link not working
- after logout, get_current_user_id still holds value
- WP Logs me out after updating anything on dashboard
- Need edit profile link in the menu for logged in users
- WordPress Logout Redirect Follow up
- Inconsistent login state
- Logout button in menu without “wp” in links
- Changing login url