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?
- The topic ‘wp_logout_url not working all the time’ is closed to new replies.