Logout Bug
-
I came across a small bug, here are the steps to recreate:
1) While logged in, visit Forums (https://en.forums.wordpress.com)
2) Hover over your username at the top right of the screen
3) Click “Sign Out”
4) Arrive at blank page with the text “No input file specified.”This is happening because the “Sign Out” link while visiting any URL the “forums” subdomain is defined as follows:
<a class="ab-item" href="https://forums.wordpress.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fwordpress.com%2F&_wpnonce=e552e620fa">Sign Out</a>A potential fix for this is to modify the href to no longer point to the “forums” subdomain, while making sure to include it in the redirect_to parameter:
<a class="ab-item" href="https://<strong>wordpress.com</strong>/wp-login.php?action=logout&redirect_to=http%3A%2F%2F<strong>forums.</strong>wordpress.com%2F&_wpnonce=e552e620fa">Sign Out</a> -
<a class="ab-item" href="https://wordpress.com/wp-login.php?action=logout&redirect_to=http%3A%2F%2Fforums.wordpress.com%2F&_wpnonce=e552e620fa">Sign Out</a> -
Hi there,
Thanks for reporting this! I let our team know about this bug so they can look into it.
In the meantime, if you’re in the forums you can log out with the “Log Out” link in the upper right: https://cloudup.com/cqy1G1Bz4we
-
Hi there,
Our team fixed this up, so you can now log out from the admin bar in the forums. Thanks again for letting us know about the issue!
- The topic ‘Logout Bug’ is closed to new replies.