Possible bugs and suggested fixes
-
We are using pro version.
I have made two patches in our local working copy of the module.
You might want to apply it to code in plugin’s repository.1. In front-end/login.php in wppb_login_redirect function you have the following around line 140:
apply_filters( 'wppb_after_login_redirect_url', $redirect_to );
I changed it to:
$redirect_to = apply_filters( 'wppb_after_login_redirect_url', $redirect_to );
otherwise it has no effect.2. In modules/custom-redirects/custom-redirects.php it seems there is a typo when specifying key for redirect type.
In wppb_redirect_default_wp_pages() function around lines 253 and 267 there are line:
$redirect_url = wppb_custom_redirect_url( 'login' )
and$redirect_url = wppb_custom_redirect_url( 'login' );
I changed it to:
$redirect_url = wppb_custom_redirect_url( 'after_login' );
and$redirect_url = wppb_custom_redirect_url( 'after_logout' );
The topic ‘Possible bugs and suggested fixes’ is closed to new replies.