Version 4.0.4 (2022-06-06)
This version includes:
Modified the [mbr_login_form] shortcode to include a new parameter
redirect_to_referrer
.The purpose of this is to provide a simple way for the user after login to be redirected to the URL from which they were referred.
Some examples:
When enforcing a login to your site, as defined within ActiveMember360, Settings, Login, Always require login and if your login page as defined within ActiveMember360, Settings, Special Pages, Select your login page uses the [mbr_login_form] shortcode with the
redirect_to_referrer
parameter set to yes, after a successful login the user will be redirected to the URL that sent them to the login page.When you have a 404 page that uses the [mbr_login_form] shortcode with the
redirect_to_referrer
parameter set to yes whoever is redirected to that 404 page, e.g. if they don't satisfy the access settings to another page, will be redirected back to that other page after a successful login on the 404 page.
Fix for mbr_is_conditional PHP function.
Fix for pagination on archive pages.
Fix for ActiveMember360 and ActiveMember360 Modules postioning in the WordPress administrator main navigation.