Redirects users to the previous url after login ( and logout ) by adding a redirection parameter to the links.
Author: | edik (profile at wordpress.org) |
WordPress version required: | 3.5 |
WordPress version tested: | 4.0 |
Plugin version: | 1.0 |
Added to WordPress repository: | 18-04-2014 |
Last updated: | 26-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | |
Total downloads: | 1 764 |
Active installs: | 10+ |
Click to start download |
The plugin adds the 'redirect_to' parameter to all login and logout links in front-end. The value is the URL of the current site. Thus you're redirected to that site after login respectively logout. But if a link contains already a 'redirect_to' parameter, the plugin doesn't change it.
The Plugin affects only the links in front-end. These in wp-login.php and in admin back-end aren't touched.
The plugin hooks into login_url and logout_url. Your code has to call functions which make use of that filters. For example wp_loginout.
ChangeLog