WordPress.org

Ready to get started?Download WordPress

Forums

wp_loginout() logout link (1 post)

  1. Colin Helvensteijn
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 6 years ago by Colin Helvensteijn
  • This topic is not resolved
  • WordPress version: 2.2

Tags

No tags yet.