wp_logout_url not working all the time (1 post)

  1. Ceko
    Posted 7 years ago #

    Whenever I tried to logout using the link above the comments, I got an error page stating the page couldn't be found on the server. In comments.php and comments-popup.php I discovered that wp_logout_url was used to log out, but the url that's passed as an argument isn't encoded. I use a space inside my url, so that's what went wrong. Is it an idea to put urlencode around get_permalink() as a standard in next versions?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.