Support » Requests and Feedback » wp_loginout() logout link

  • When logged in, the logout link generated by the wp_loginout() function uses an unescaped ampersand (&) in the href attribute, instead of the & entity as it should:

    <a href="http://helvensteijn.com/wp/wp-login.php?action=logout&redirect_to=%2Fhome%2F">Logout</a>

    Found this issue by getting the source from a page while logged in, and putting it through W3’s validator to check some layout changes for errors.

  • The topic ‘wp_loginout() logout link’ is closed to new replies.