It also redirects user back to the homepage when they log out, instead of going to the login page again..
It works like charm on WordPress 4.7.1, even overriding Woocommerce login redirect to WooCommerce account page...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Tweak streamlined the referrer function. 1.8.
Added use of esc url to sanitize the output of add query arg and improve security..
Added links to the login page are now cleaner ..
Added new function so that logging out sends you back to the homepage..
Fix for the login loop that occured when using the recovery and when logging straight from the login page ..
Ditch the use of HTTP HOST for home url .. 1.1.
Added code to check if $redirect to is set and make it take precedence..
Read more